Documentation
¶
Overview ¶
Package version carries the single source of truth for the release string.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "2.4.1"
Version is stamped into the API's /api/health payload and the UI footer. A release build overrides it from the tag (-X …/internal/version.Version); this value is what a plain `go build` reports.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
Version string `json:"version"`
Revision string `json:"revision"`
Modified *bool `json:"modified"`
CommitTime string `json:"commit_time,omitempty"`
}
Info identifies the running executable, independently of its release label. A nil Modified value means VCS metadata was not recorded, not a clean build.