build

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package build provides build-time information about the binary. The version, commit, and date values are set at build time via linker flags and default to development values when built locally.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

func Commit() string

Commit returns the Git commit hash at which the binary was built.

func Date

func Date() string

Date returns the date when the binary was built.

func Version

func Version() string

Version returns the version of the binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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