build

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package build exposes the binary's identity and version metadata.

Values injected via -ldflags (at release or Makefile build time) take precedence. When a value is not injected (e.g. `go install`, `go build`, or a ko image build without ldflags), the accessors fall back to runtime/debug.ReadBuildInfo so `yeet version` still reports meaningful module and VCS information.

Index

Constants

View Source
const (
	ServiceName = "yeet"
)

Variables

This section is empty.

Functions

func Commit

func Commit() string

func Date

func Date() string

func Version

func Version() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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