version

package
v0.0.0-...-202a999 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version represents the program version.
	Version string
	// Branch represents the repository branch name.
	Branch string
	// Revision represents the repository revision hash.
	Revision string
	// BuildDate represents the program build date.
	BuildDate string
	// Compiler represents the program compiler information.
	Compiler = fmt.Sprintf("%s (%s)", runtime.Version(), runtime.Compiler)
)

Functions

func Fprint

func Fprint(w io.Writer)

Fprint writes the version information into a writer.

func Print

func Print()

Print writes the version information to the standard output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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