version

package
v0.0.0-...-8dd92da Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func String

func String() string

String returns printable version string

func StringFromInfo

func StringFromInfo(ver *Info) string

StringFromInfo prints the versioning details

Types

type Info

type Info struct {
	GitCommit string
	Version   string
	BuildTime string
}

Info enlists version and build information as used by netplugin binaries

func Get

func Get() *Info

Get gets the version information

Jump to

Keyboard shortcuts

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