buildinfo

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2024 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 BranchName

func BranchName() string

func BuildTime

func BuildTime() time.Time

func Commit

func Commit() string

func GithubRepo

func GithubRepo() string

it's generated only once, no need to have it as a parameter

func Info

func Info() *types.BuildInfo

func Name

func Name() string

Name returns the executable that started the current process.

func OS

func OS() string

func ProjectName

func ProjectName() string

func Version

func Version() version.Version

Types

This section is empty.

Jump to

Keyboard shortcuts

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