Version: v0.5.3 Latest Latest

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

Go to latest
Published: May 28, 2015 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0




This section is empty.


View Source
var Package = ""

Package is the overall, canonical project import path under which the package was built.

View Source
var Version = "v2.0.0+unknown"

Version indicates which version of the binary is running. This is set to the latest release tag by hand, always suffixed by "+unknown". During build, it will be replaced by the actual version. The value here will be used if the registry is run after a go get based install.


func FprintVersion

func FprintVersion(w io.Writer)

FprintVersion outputs the version string to the writer, in the following format, followed by a newline:

<cmd> <project> <version>

For example, a binary "registry" built from with version "v2.0" would print the following:

registry v2.0

func PrintVersion

func PrintVersion()

PrintVersion outputs the version information, from Fprint, to stdout.


This section is empty.

Jump to

Keyboard shortcuts

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