package
0.10.25
Repository: https://github.com/graphql-editor/stucco.git
Documentation: pkg.go.dev

# Functions

AddPathToZip appends contents of directory to zip, optionaly skipping files/directories matching gitignore like lines.
CopyToReader returns new bytes.Reader with a copy of data read by r.
FieldName returns resolver name for field.
IsLocal returns true if url scheme is empty or equal file.
LoadConfigFile returns Config from file.
LocalOrRemoteReader creates a closable reader from url.
ReadConfigFile loads stucco config from json or yaml file.
ReaderAtToReader returns a reader backed with ReaderAt.
ReadLocalOrRemoteFile loads file from local storage or http depending on scheme in url.
SaveConfigFile saves config to file.
ZipAppend appends data to existing zip archive.
ZipAppendFromReader appends data to existing zip archive overwritting files that match name.
ZipFiles create new zip archive with files.

# Constants

StuccoConfigEnv is a name of environment variable that will be checked for stucco.json path if one is not provided.

# Structs

ZipData Is a tuple with data and filename to be added to zip archive.