package
0.0.0-20231126024412-02539191b02e
Repository: https://github.com/mjpitz/myago.git
Documentation: pkg.go.dev

# README

build

import go.pitz.tech/lib/build

Usage

type Info

type Info struct {
	OS           string
	Architecture string

	GoVersion  string
	CGoEnabled bool

	Version  string
	VCS      string
	Revision string
	Compiled time.Time
	Modified bool
}

Info defines common build information associated with the binary.

func ParseInfo

func ParseInfo() (info Info)

ParseInfo extracts as much build information from the compiled binary as it can.

func (Info) Metadata

func (info Info) Metadata() map[string]any

Metadata formats the underlying information as a generalized key-value map.

# Functions

ParseInfo extracts as much build information from the compiled binary as it can.

# Structs

Info defines common build information associated with the binary.
No description provided by the author

# Type aliases

No description provided by the author