Documentation ¶
Overview ¶
Package meta contains metadata about the compiler.
Index ¶
Constants ¶
View Source
const DevelopVersion = "devel"
DevelopVersion is the version string used for development builds.
View Source
const UnknownCommit = "unknown commit"
UnknownCommit is the placeholder used for Commit if there is no information about the current commit.
Variables ¶
View Source
var Commit = UnknownCommit
Commit is the commit hash of the binary.
This should be set during compilation using `-ldflags "-X github.com/mavolin/corgi/internal/meta.Commit=foo"`.
View Source
var Version = DevelopVersion
Version is the version of the binary.
This should be set during compilation using `-ldflags "-X github.com/mavolin/corgi/internal/meta.Version=1.2.3"`.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.