Documentation
¶
Overview ¶
Package buildinfo implements build information, mostly injected by goreleaser.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Commit ¶
func Commit() string
Commit returns the commit hash, or "" if it is not set. This is injected by goreleaser.
func CommitDate ¶
func CommitDate() string
CommitDate returns the date of the commit, or "date unknown" if it is not set. This is injected by goreleaser.
func FullVersion ¶
func FullVersion() string
FullVersion returns the full version string, including the version, commit hash, and date.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.