version

package
v0.0.0-...-c25e923 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package version provides version information.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Tag is set at build time.
	Tag string
	// SHA is set at build time.
	SHA string
)

Functions

func PrintLongVersion

func PrintLongVersion()

PrintLongVersion prints verbose version information.

func PrintShortVersion

func PrintShortVersion()

PrintShortVersion prints the tag and sha.

Types

type Version

type Version struct {
	Tag       string
	SHA       string
	GoVersion string
	Os        string
	Arch      string
}

Version contains verbose version information.

Jump to

Keyboard shortcuts

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