version

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package version can be used to specify verison information at build time.

It is inspired by github.com/prometheus/common/version

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   string
	Revision  string
	Branch    string
	BuildUser string
	BuildDate string
	GoVersion = runtime.Version()
)

Build information populated at build-time.

Functions

func Template

func Template() string

Template returns a template string to be used for printing version informations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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