mirror of
https://github.com/hanzoai/pki.git
synced 2026-11-03 18:08:14 +00:00
7 lines
391 B
Go
7 lines
391 B
Go
// Package version exposes the build version of the binaries. The version is
|
|
// set by the linker (-X ...internal/version.build=<version>, as make build
|
|
// does with GIT_VERSION) and otherwise read from the module build
|
|
// information, so a plain go build or go install reports its module version
|
|
// or VCS revision. PopulateFromBuild parses "[v]major.minor.commit[-dirty]".
|
|
package version
|