version

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildDate = "unknown"

BuildDate date for the release

View Source
var GitCommitID = "none"

GitCommitID git commit id of the release

View Source
var Version = "dev"

Version The below variables are overridden using the build process name of the release

Functions

func Short

func Short() string

Short returns short version of the release

Types

type Details

type Details struct {
	Version     string `json:"version"`
	GitCommitID string `json:"gitCommit"`
	BuildDate   string `json:"buildDate"`
}

Details struct contains data about a given version.

func Info

func Info() Details

Info returns Details struct with version info.

Jump to

Keyboard shortcuts

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