buildinfo

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDate

func BuildDate() string

BuildDate returns the build date if provided via -ldflags.

func BuiltBy

func BuiltBy() string

BuiltBy returns the builder identifier if provided via -ldflags.

func Commit

func Commit() string

Commit returns the full commit hash if provided via -ldflags.

func GoVersion

func GoVersion() string

GoVersion returns the build-time Go version if provided.

func Version

func Version() string

Version returns the semantic version string.

func VersionDetailed

func VersionDetailed() string

VersionDetailed returns version info with build metadata if available.

func VersionSimple

func VersionSimple() string

VersionSimple returns version number with short commit hash for --version flag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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