sys

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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