version

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CommitHash is the commit hash of this version
	CommitHash string
	// CommitDate is the date at which the last commit was made
	CommitDate string
	// SemVer is the semantic version of the reflector
	SemVer string

	// OutputFunc is a variable for the printer that will dump
	// the version out (to avoid cluttering test logs).
	OutputFunc = fmt.Printf
)

Functions

func DumpVersion

func DumpVersion() error

DumpVersion dumps the version information set at compile time by the linker.

Types

This section is empty.

Jump to

Keyboard shortcuts

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