build

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildTime = ""

BuildTime is the time of this build.

View Source
var Commit = ""

Commit contains the SHA commit hash.

View Source
var Version = "dev"

Version is used by CI/CD system to set the version of the built binary.

Functions

func JSON added in v2.1.3

func JSON() string

func String

func String() string

String returns the version info as a string.

Types

type Data added in v2.1.3

type Data struct {
	Version   string
	BuildTime string
	Commit    string
}

Jump to

Keyboard shortcuts

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