buildinfo

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VersionMajor      = "0"
	VersionMinor      = "1"
	VersionPatch      = "0"
	VersionPreRelease = "dev"
	BuildTimestamp    string
	BuildToolchain    string
	BuildChannel      = "development"
	BuildCommit       = "unknown"
)

Functions

This section is empty.

Types

type Info

type Info struct {
	Version   string `json:"version"`
	Release   string `json:"release"`
	Commit    string `json:"commit"`
	Channel   string `json:"channel"`
	Toolchain string `json:"toolchain,omitempty"`
	BuildTime string `json:"buildTime,omitempty"`
	GoVersion string `json:"goVersion"`
	OS        string `json:"os"`
	Arch      string `json:"arch"`
}

func Current

func Current() Info

Jump to

Keyboard shortcuts

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