version

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// VERSION is the app-global version string.
	VERSION = "UNKNOWN"

	// COMMIT is the app-global git sha string.
	COMMIT = "UNKNOWN"

	// REPOROOT is the app-global repository path string.
	REPOROOT = "UNKNOWN"
)

Following values should be substituted with a real value during build.

Functions

func Info

func Info() []string

Info returns an array of various service versions

func PrintVersion

func PrintVersion()

PrintVersion prints versions from the array returned by Info().

Types

This section is empty.

Jump to

Keyboard shortcuts

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