version

package
v0.0.0-...-09a19d7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = semver.New("0.0.0")

Version is the specification version that the package types support.

Functions

func GetLatest

func GetLatest() (version *semver.Version, err error)

GetLatest version

Types

type Info

type Info struct {
	Version      string
	GitVersion   string
	GitCommit    string
	GitTreeState string
	BuildDate    string
	GoVersion    string
	Compiler     string
	Platform     string
}

Info version

func Get

func Get() *Info

Get returns the version and buildtime information about the binary

Jump to

Keyboard shortcuts

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