Documentation
¶
Overview ¶
Package buildinfo is INTERNAL-ONLY — version, commit, date, and Go version injection. Pure infrastructure with no operator-facing contract.
Index ¶
Constants ¶
View Source
const Version = "0.14.7"
Version is the single source of truth for the AXIS release string.
Variables ¶
View Source
var ( Commit string Date string GoVersion string )
Commit, Date, and GoVersion are set at build time via -ldflags. Example:
go build -ldflags "-X github.com/toasterbook88/axis/internal/buildinfo.Commit=abc1234
-X github.com/toasterbook88/axis/internal/buildinfo.Date=2026-04-01T12:00:00Z
-X github.com/toasterbook88/axis/internal/buildinfo.GoVersion=go1.26.2"
View Source
var UpdateManagedBy string
UpdateManagedBy specifies if this binary is managed by a package manager (e.g. "nix", "homebrew"). When set, the internal `axis update` command will refuse to overwrite the binary.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.