compiledinfo

package
v0.0.0-...-8e01fea Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package compiledinfo is an internal package used to bake "build time information" into the compiled app.

Index

Constants

This section is empty.

Variables

View Source
var (
	// The name of the app (binary executable).
	AppName string
	// The hash of the last commit in the git repository.
	GitCommitHash string
	// The version of the app.
	Version string
)

Functions

func UsageName

func UsageName() string

Return the name of the app as shown in help and version output.

func UsageNameAndVersion

func UsageNameAndVersion() string

Return the name of the app and version info as displayed in the usage information.

func VersionString

func VersionString() string

Return the version information that can be shown to a user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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