schemas

package
v0.9.9-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package schema contains all of the Schema Definition Files (abbreviated SDL) which define (Un)pack Downloader API. As well includes distribution schema generation logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Remove

func Remove(path string) error

Remove deletes a file at the specified path if it exists.

func String

func String() (string, error)

String reads the .graphql schema files from the embed.FS, concatenating the files together into one string.

If this method complains about not finding functions AssetNames() or MustAsset(), run `go generate` against this package to generate the functions.

func Write

func Write(path, content string) error

Write writes the provided content to a file at the specified path.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL