buildvars

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package buildvars exposes linker-injected build metadata for the CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDate

func BuildDate() string

BuildDate returns the linker-injected build timestamp.

func CommitBranch

func CommitBranch() string

CommitBranch returns the linker-injected source branch name.

func CommitDate

func CommitDate() string

CommitDate returns the linker-injected source commit timestamp.

func CommitHash

func CommitHash() string

CommitHash returns the linker-injected source commit hash.

func Version

func Version() string

Version returns the linker-injected build version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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