Documentation
¶
Overview ¶
Package version is the single place that carries build identity. Every build path — go install, the justfile, Docker, and GoReleaser — overrides these variables with -ldflags, so nothing else in the tree hardcodes a version string.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commit = ""
Commit is the git commit the binary was built from.
View Source
var Date = ""
Date is the build or commit timestamp, ideally RFC 3339.
View Source
var Version = ""
Version is the release version, normally the git tag without its "v" prefix. Override with:
-ldflags "-X github.com/readeem/hostebin/internal/version.Version=1.2.3"
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.