package
0.0.0-20201217075903-aecdb050f89d
Repository: https://github.com/lvbin2012/neuralchain.git
Documentation: pkg.go.dev
# Functions
AddFile appends an existing file to an archive.
CopyFile copies a file.
EnsureGoSources ensures that path contains a file with the given SHA256 hash, and if not, it downloads a fresh Go source package from upstream and replaces path with it (if the hash matches).
Env returns metadata about the current CI environment, falling back to LocalEnv if not running on CI.
GOPATH returns the value that the GOPATH environment variable should be set to.
GoTool returns the command that runs a go tool.
LocalEnv returns build environment metadata gathered from git.
MustRun executes the given command and exits the host process for any error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PGPKeyID parses an armored key and returns the key ID.
PGPSignFile parses a PGP private key from the specified string and creates a signature file into the output parameter of the input file.
Render renders the given template file into outputFile.
RenderString renders the given template string into outputFile.
RunGit runs a git subcommand and returns its output.
UploadSFTP uploads files to a remote host using the sftp command line tool.
WriteArchive creates an archive containing the given files.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
These flags override values in build env.
No description provided by the author
No description provided by the author
# Structs
Environment contains metadata provided by the build environment.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author