Documentation
¶
Overview ¶
Package compiledinfo is an internal package used to bake "build time information" into the compiled app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // The name of the app (binary executable). AppName string // The hash of the last commit in the git repository. GitCommitHash string // The version of the app. Version string )
Functions ¶
func UsageName ¶
func UsageName() string
Return the name of the app as shown in help and version output.
func UsageNameAndVersion ¶
func UsageNameAndVersion() string
Return the name of the app and version info as displayed in the usage information.
func VersionString ¶
func VersionString() string
Return the version information that can be shown to a user.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.