Documentation ¶ Overview ¶ Package version exposes build-time metadata injected by goreleaser via -ldflags. Index ¶ type Info func Get() Info Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Info ¶ type Info struct { Version string `json:"version"` Commit string `json:"commit"` Date string `json:"date"` GoVersion string `json:"go_version"` OS string `json:"os"` Arch string `json:"arch"` } Info is the JSON payload emitted by `sku version`. func Get ¶ func Get() Info Get returns the current build's Info, including runtime-derived fields. Source Files ¶ View all Source files version.go Click to show internal directories. Click to hide internal directories.