buildinfo

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version    = "dev"
	Commit     = "unknown"
	BuildDate  = "unknown"
	CGOEnabled = "unknown"
)

Functions

This section is empty.

Types

type Info

type Info struct {
	Version    string `json:"version"`
	Commit     string `json:"commit"`
	BuildDate  string `json:"build_date"`
	GoVersion  string `json:"go_version"`
	GOOS       string `json:"goos"`
	GOARCH     string `json:"goarch"`
	Compiler   string `json:"compiler"`
	CGOEnabled string `json:"cgo_enabled"`
}

func Current

func Current() Info

Jump to

Keyboard shortcuts

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