version

package
v0.0.0-...-03b3356 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CommercialEdition is the default edition for building.
	CommercialEdition = "Commercial"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VersionInfo

type VersionInfo struct {
	ReleaseVersion string `json:"releaseVersion"`
	Edition        string `json:"edition"`
	GitHash        string `json:"gitHash"`
	GitBranch      string `json:"gitBranch"`
	BuildDate      string `json:"buildDate"`
}

func Get

func Get() VersionInfo

Get resturns the overall codebase version. It's for detecting what code a binary was built from.

func (VersionInfo) String

func (v VersionInfo) String() string

String returns the formatted version string

Jump to

Keyboard shortcuts

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