version

package
v0.0.0-...-6ac6f58 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version describes version.
	// Will be specific when compiling.
	Version = "17.03.28"

	// Tag show the git tag for this version.
	// Will be specific when compiling.
	Tag = "2017-03-28 Release"

	// BuildTime show the compile time.
	// Will be specific when compiling.
	BuildTime = "2017-03-28 19:50:00"

	// GitHash show the current commit hash.
	// Will be specific when compiling.
	GitHash = "unknown"

	// DisttaskRepo show the url of disttask repo
	// Will be specific when compiling.
	DisttaskRepo = ""
)

Functions

func GetVersion

func GetVersion() string

GetVersion get version message string.

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