build

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BuildVersion = buildVersion
	BuildDate    = "n/a"
	CommitHash   = "n/a"
)

Functions

func IsDev added in v0.2.0

func IsDev() bool

IsDev returns true if the build is a development build.

func UserAgent

func UserAgent() string

UserAgent returns the user agent string.

func Version

func Version() string

Version returns the version string in the format of "vX.Y.Z (<commit>), built <date>".

Types

This section is empty.

Jump to

Keyboard shortcuts

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