Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ModificationTime string
ModificationTime is the time, in RFC3339 format, of this binary. This value is automatically set fi the buildInfoFunc function returns the "vcs.time" settings.
var Modified bool
Modified is true if there are local code modifications when this binary was built. This value is automatically set if the buildInfoFunc function returns the "vcs.modified" setting.
var Revision string
Revision is the git hash which built this tool. This value is automatically set if the buildInfoFunc function returns the "vcs.revision" setting.
var Version = "dev"
Version is the build of this tool. The expectation is that this will be set during build time via ldflags or via the BuildInfo if "go install"ed. Supported values: "dev", any semver (with or without a 'v', if no 'v' exists, one will be added). Any invalid version will be replaced with "invalid (BAD_VERSION)".
Functions ¶
This section is empty.
Types ¶
This section is empty.