Documentation
¶
Overview ¶
Package version exposes build metadata for the `--version` flag.
Values are populated either by ldflags at release-build time (preferred — see .goreleaser.yml) or by runtime/debug.ReadBuildInfo() as a fallback for `go install` users. When neither yields a version (a bare `go build` without VCS info), Info() reports "dev".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.