Documentation
¶
Overview ¶
Package version - Because semantic versioning is cheaper than therapy
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
Version string // Semantic version (or whatever we feel like)
BuildTime time.Time // When this all started
GitCommit string // The commit we're blaming
GitBranch string // Which branch caused this mess
GoVersion string // Which Go version to complain about
Platform string // What we're running on
Environment string // prod/staging/dev/whoknows
}
Info holds all the version information in one neat package Like a CVS but for your software's identity crisis
Click to show internal directories.
Click to hide internal directories.