Documentation
¶
Overview ¶
Package version provides version information for the INIQ application
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatBuildDate ¶
FormatBuildDate formats the build date as RFC3339
func IsDevelopment ¶
func IsDevelopment() bool
IsDevelopment returns true if the current version is a development version
func IsRelease ¶
func IsRelease() bool
IsRelease returns true if the current version is a release version
func ShortString ¶
func ShortString() string
ShortString returns a short string representation of version information
Types ¶
type Info ¶
type Info struct {
// Version is the semantic version
Version string
// BuildDate is the date when the binary was built
BuildDate string
// Commit is the git commit hash
Commit string
// GoVersion is the version of Go used to build the binary
GoVersion string
// Platform is the OS/arch combination
Platform string
// BuildInfo contains additional build information
BuildInfo *debug.BuildInfo
}
Info contains version information
Click to show internal directories.
Click to hide internal directories.