version

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const UnknownVersion = "(unknown version)"

UnknownVersion is used when the version is not known.

Variables

View Source
var (
	// Hash git commit hash.
	Hash string

	// ShortHash git commit short hash.
	ShortHash string

	// CompileTime of the binary.
	CompileTime string

	// ReleaseVersion based on release tag.
	ReleaseVersion string
)

Functions

func LongVersion

func LongVersion() string

LongVersion the long form of the binary version.

func Version

func Version() string

Version the binary version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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