version

package
Version: v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

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 BuildContext

func BuildContext() logrus.Fields

BuildContext returns goVersion, buildUser and buildDate information.

func Info

func Info() logrus.Fields

Info returns version, branch and revision information.

func Print

func Print(program string) (string, error)

Print returns version information.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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