Documentation
¶
Overview ¶
Package version is a helper for extracting versions from the binary
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
// Version is the semantic version
Version string
// Commit is the Git commit digest
Commit string
// Dirty is true if the build was dirty (not matching the commit)
Dirty bool
// Built is the datetime of the last commit
Built string
}
Info is the struct to hold the version metadata of this tool
Click to show internal directories.
Click to hide internal directories.