version

package
v0.9.15 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version shows the current notation version, optionally with pre-release.
	Version = "v1.0.0-rc.7"

	// BuildMetadata stores the build metadata.
	//
	// When execute `make build` command, it will be overridden by
	// environment variable `BUILD_METADATA`. If commit tag was set,
	// BuildMetadata will be empty.
	BuildMetadata = "unreleased"

	// GitCommit stores the git HEAD commit id
	GitCommit = ""
)

Functions

func GetVersion

func GetVersion() string

GetVersion returns the version string in SemVer 2.

Types

This section is empty.

Jump to

Keyboard shortcuts

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