Documentation
¶
Overview ¶
Package version holds the application's build-time version metadata.
It is intentionally a leaf package (no internal imports) so that both commands (cmd/version, cmd/doctor, cmd/root) and shared services (internal/telemetry) can read build info without layering inversions. The values are populated at build time via ldflags:
go build -ldflags="-X github.com/eng618/eng/internal/version.Version=…"
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version holds the application's version string (e.g., "0.1.0" or "dev"). Version = "dev" // Commit holds the Git commit hash from which the application was built. Commit = "none" // Date holds the build date of the application. Date = "unknown" )
Build-time variables populated via ldflags (see .goreleaser.yaml and Taskfile.yaml).
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.