Discover Packages
github.com/unpackdev/unpack
schemas
package
Version:
v0.9.9-rc2
Opens a new window with list of versions in this module.
Published: May 26, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package schema contains all of the Schema Definition Files (abbreviated SDL)
which define (Un)pack Downloader API. As well includes distribution schema generation logic.
Remove deletes a file at the specified path if it exists.
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.
Write writes the provided content to a file at the specified path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.