version

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 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 added in v0.12.0

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

func UserAgent added in v0.6.1

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