version

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintBuildInfo

func PrintBuildInfo()

PrintBuildInfo prints the build information. Its a handy function that version commands can use to print the build information.

Types

type BuildInfo

type BuildInfo struct {
	BuildDate    string
	GitCommit    string
	GitSummary   string
	GitTreeState string
	GoVersion    string
	Version      string
}

BuildInfo describes the compile time build information.

func GetBuildInfo

func GetBuildInfo() BuildInfo

Get returns build info that was set at compile time.

Jump to

Keyboard shortcuts

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