Documentation
¶
Overview ¶
Package buildinfo holds the resolved binary version as a leaf value any package may read without importing cmd/canary or cobra. It has no imports of its own so nothing that depends on it can create an import cycle.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set by cmd/canary/main at startup (from ldflags, or the module version stamped into the binary's build info for a plain `go install` build). It stays "dev" for any code path -- notably tests -- that never calls through main's init.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.