app

package
v0.3.17 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// VERSION is sofeware version
	VERSION string
	// BUILD_TIME is build time
	BUILD_TIME string
	// GO_VERSION is go version
	GO_VERSION string
	// PRODUCT_NAME is product name
	PRODUCT_NAME string
)
View Source
var (
	VersionCmd = &cobra.Command{
		Use:   "version",
		Short: "show " + PRODUCT_NAME + "version",
		Long:  "",
		Run: func(cmd *cobra.Command, args []string) {
			PrintSoftwareVer()
		},
	}
)

Functions

func PrintSoftwareVer

func PrintSoftwareVer()

PrintSoftwareVer shows software version

Types

This section is empty.

Jump to

Keyboard shortcuts

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