Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryInfo ¶ added in v0.19.4
type BinaryInfo struct { Version string // The version of this binary CommitID string // The git commit hash Runtime string // The Go runtime version, e.g. go1.21.0 Compiler string // The Go compiler used to build this binary }
BinaryInfo contains build information about a Go binary.
func ReadBinaryInfo ¶ added in v0.23.0
func ReadBinaryInfo() (BinaryInfo, error)
ReadBinaryInfo returns the ReadBinaryInfo about this program.
Click to show internal directories.
Click to hide internal directories.