version

package
v3.1.0-rc.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CCVersion       = "17.03.28"
	CCTag           = "2017-03-28 Release"
	CCBuildTime     = "2017-03-28 19:50:00"
	CCGitHash       = "unknown"
	CCRunMode       = "product" // product, test, dev
	CCDistro        = "enterprise"
	CCDistroVersion = "9999.9999.9999"
)

CCVersion discribes version CCTag show the git tag for this version CCBuildTime show the compile time

View Source
var (
	CCRunModeProduct = "product"
	CCRunModeTest    = "test"
	CCRunModeDev     = "dev"
)

CCRunMode enumeration

Functions

func GetVersion

func GetVersion() string

GetVersion return the version info

func ShowVersion

func ShowVersion()

ShowVersion is the default handler which match the --version flag

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL