buildinfo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package buildinfo carries version metadata injected with -ldflags -X (see LDFLAGS in the Makefile). Release builds set all three; a plain `go build` reports "devel" and empty values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDate

func BuildDate() string

BuildDate returns the RFC 3339 build time, if known.

func Commit

func Commit() string

Commit returns the source commit, if known.

func Version

func Version() string

Version returns the release version or "devel".

Types

This section is empty.

Jump to

Keyboard shortcuts

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