version

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package version is used to store the version information for the built binaries. The Version variable is set by the makefile to the value in the VERSION file at the root of the repository.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the semver of this code.
	Version = "UNKNOWN"

	// Commit is the git commit this was built from.
	Commit = "UNKNOWN"
)
View Source
var Semver semver.Version

Semver is a variable, which holds parsed Version.

Functions

func Format

func Format() string

Format formats Version and Commit variables into single string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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