buildinfo

package
v0.0.546 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 9 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