Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set at build time via ldflags:
go build -ldflags "-X github.com/Heldroe/tfr-static/cmd.Version=1.0.0"
When the binary is installed via `go install module@vX.Y.Z`, ldflags are not applied, but the module version is available from runtime/debug.BuildInfo, so resolvedVersion falls back to that.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.