buildinfo

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package buildinfo implements build information, mostly injected by goreleaser.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

func Commit() string

Commit returns the commit hash, or "" if it is not set. This is injected by goreleaser.

func CommitDate

func CommitDate() string

CommitDate returns the date of the commit, or "date unknown" if it is not set. This is injected by goreleaser.

func FullVersion

func FullVersion() string

FullVersion returns the full version string, including the version, commit hash, and date.

func Target

func Target() string

Target returns the target operating system that this binary was compiled for.

func Version

func Version() string

Version returns the version of the application, or "<unknown>" if it is not set. This is injected by goreleaser.

Types

This section is empty.

Jump to

Keyboard shortcuts

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