app

package
v4.2.508+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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