Documentation
¶
Overview ¶
Package version holds muster's build-time version stamp. It exists so exactly one pair of variables gets the -ldflags -X treatment — cmd/muster, the justfile, and .github/workflows/release.yml all target github.com/schuettc/muster/internal/version.{version,commit} rather than three copies scattered across main packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Commit ¶
func Commit() string
Commit returns the stamped short commit hash ("none" if unstamped).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.