version

package
v0.0.0-...-14027d0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// BuildTime is a time label of the moment when the binary was built
	BuildTime = "unset"

	// Commit is a last commit hash at the moment when the binary was built
	Commit = "unset"

	// Release is a semantic version of current build
	Release = "unset"
)

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	BuildTime string `json:"buildTime"`
	Commit    string `json:"commit"`
	Release   string `json:"release"`
}

func NewBuildInfo

func NewBuildInfo() *BuildInfo

Jump to

Keyboard shortcuts

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