buildinfo

package
v0.0.452-pre-5 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Arch

func Arch() string

func BuildDate

func BuildDate() time.Time

func Commit

func Commit() string

func Environment

func Environment() string

func Info

func Info() info

func IsDev

func IsDev() bool

func IsRelease

func IsRelease() bool

func IsVersionNewer

func IsVersionNewer(otherVerison string) bool

func IsVersionOlder

func IsVersionOlder(otherVerison string) bool

func IsVersionSame

func IsVersionSame(otherVerison string) bool

func Name

func Name() string

Name returns the name for the executable that started the current process.

Name is safe for concurrent use.

func OS

func OS() string

func Version

func Version() semver.Version

Types

This section is empty.

Jump to

Keyboard shortcuts

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