package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Aug 3, 2018
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
VersionTag = defaultContent
Branch = defaultContent
BuildDate = defaultContent
)
Version provided by compile time -ldflags.
PrintText prints the version informations to stdout
type Version struct {
Version, Branch, GoVersion, Platform string
BuildDate time.Time
}
Version holds information about the build
Get returns the version information
Source Files
¶
Click to show internal directories.
Click to hide internal directories.