Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" GitCommit = "none" BuildDate = "unknown" )
Functions ¶
func NewCommand ¶
func NewCommand(versionInfo VersionInfo) *cobra.Command
NewCommand creates a new comamnd that prints information about the application version, including the git commit, build date and go runtime version.
Types ¶
Click to show internal directories.
Click to hide internal directories.