Documentation
¶
Overview ¶
Package version exposes build-time version metadata.
The values are populated via -ldflags -X at build time. See the project Makefile and .goreleaser.yml for the canonical ldflag set.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the semantic version (e.g. "1.2.3"). "dev" for unreleased builds. Version = "dev" // GitCommit is the full git SHA of the build, or "unknown". GitCommit = "unknown" // BuildDate is an RFC3339 timestamp, or "unknown". BuildDate = "unknown" )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.