buildstamp

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package buildstamp exports build metadata values that may be optionally set by the build system, for runtime inspection. The primary usecase is for identifying application provenance (e.g. what branch, user built the code).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vars

type Vars struct {
	ReleaseVersion string
	SourceBranch   string
	SourceRevision string
	IsClean        bool
	IsOfficial     bool
	BuildTimestamp time.Time
}
var (
	Values Vars
)

func (Vars) String

func (v Vars) String() string

Jump to

Keyboard shortcuts

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