package
0.0.0-20220308083446-f387b464c92d
Repository: https://github.com/weijun-sh/gethscan-server.git
Documentation: pkg.go.dev
# Functions
Env returns metadata about the current CI environment, falling back to LocalEnv if not running on CI.
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.
MustRunCommand wrap MustRun.
RunGit runs a git subcommand and returns its output.
# Variables
build flags.
build flags.
DryRunFlag dry run flag.
build flags.
These flags override values in build env.
build flags.
build flags.
# Structs
Environment contains metadata provided by the build environment.