version

package
v0.0.0-...-15868fb Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseVersion

func ParseVersion(version string) (semver.Version, error)

func UserAgent

func UserAgent() string

Types

type Info

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

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