Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommit ¶ added in v0.1.1
func BuildCommit() string
BuildCommit returns the embedded git commit short hash.
func BuildDate ¶ added in v0.1.1
func BuildDate() string
BuildDate returns the embedded build timestamp.
func BuildVersion ¶ added in v0.1.1
func BuildVersion() string
BuildVersion returns the embedded version (e.g. v0.2.0 or dev).
func SetBuildInfo ¶ added in v0.1.1
func SetBuildInfo(version, commit, date string)
SetBuildInfo records release metadata from the main package. Call from main() before Execute.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.