Documentation
¶
Overview ¶
Package version reports the engine build's identity, so an artifact the engine writes can name what produced it.
A check-result document outlives the run that made it (WS3-103), and a report read weeks later is only interpretable once you know which build produced it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Version ¶
func Version() string
Version returns the engine build identity: the ldflags-stamped release if a distribution build set one, else the VCS revision (suffixed "+dirty" when the tree had uncommitted changes), else the module version, else "unknown". It never returns the empty string, so a caller writing provenance always has something to write. Resolved once and cached.
Types ¶
This section is empty.