Documentation
¶
Overview ¶
Package version exposes funcd's build identity. Version/Commit/Date are written at link time via -ldflags "-X …version.Version=…" (the one sanctioned mutable-globals seam — ADR-0002 §5 / ADR-0026); GoVersion + Platform come from the runtime. An un-stamped build returns the honest "dev"/"none"/"unknown" defaults so it's obvious.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" )
The ldflags-stamp seam. //nolint is required — gochecknoglobals fires on these names (same inline form as the lookup-table globals in api/fault/problem.go, pkg/sdk/kinds.go).
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.