version

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ShortVersionBanner = `` /* 173-byte string literal not displayed */

ShortVersionBanner ...

Variables

View Source
var (
	// VersionString ...
	VersionString = "?"
	// RevisionString ...
	RevisionString = "?"
	// RevisionURLString ...
	RevisionURLString = "?"
	// GeneratedString ...
	GeneratedString = "?"
	// DevelopersString ...
	DevelopersString = "?"
	// BuildNumString ...
	BuildNumString = "?"
	// DockerImageString ...
	DockerImageString = "?"
	// GoVersion ...
	GoVersion = runtime.Version()
)

Functions

func GetHumanVersion

func GetHumanVersion() string

GetHumanVersion ...

Types

type Version added in v0.17.0

type Version struct {
	VersionString     string `json:"version_string"`
	RevisionString    string `json:"revision_string"`
	RevisionURLString string `json:"revision_url_string"`
	GeneratedString   string `json:"generated_string"`
	DevelopersString  string `json:"developers_string"`
	BuildNumString    string `json:"build_num_string"`
	DockerImageString string `json:"docker_image_string"`
	GoVersion         string `json:"go_version"`
}

func GetVersion added in v0.17.0

func GetVersion() Version

Jump to

Keyboard shortcuts

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