Documentation
¶
Overview ¶
Package version exposes the build metadata injected at compile time via ldflags. These values are set by the Makefile using:
-ldflags "-X github.com/lowplane/kerno/internal/version.Version=v0.1.0 ..."
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the semantic version (e.g., "v0.1.0"). Set at build time. Version = "dev" // Commit is the short git commit hash. Set at build time. Commit = "unknown" // Date is the build date in ISO 8601 format. Set at build time. Date = "unknown" )
Build-time values injected via -ldflags.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.