Discover Packages
github.com/SnowyFoxStudios/LoadWave
internal
buildinfo
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Aug 18, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package buildinfo reports what this binary is.
Every node advertises its version when it joins, so an operator can see at a
glance that one agent in a fleet is running last week's build — a genuinely
common cause of results that make no sense.
Version returns just the version string.
type Info struct {
Version string `json:"version"`
Commit string `json:"commit"`
BuildDate string `json:"buildDate"`
GoVersion string `json:"goVersion"`
Platform string `json:"platform"`
Dirty bool `json:"dirty"`
}
Info describes the running binary.
Get returns the build information.
String renders a one-line summary for `--version` output.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.