Documentation
¶
Overview ¶
Package version holds the build metadata stamped into release binaries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" )
Populated at build time via -ldflags by .goreleaser.yaml for releases and by flake.nix for source builds. A build that stamps nothing falls back to runtime/debug.ReadBuildInfo, so `go install pkg@version` still reports the module version rather than "dev". A build with neither keeps these defaults, which is how `ripen version` says so rather than inventing one.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.