buildinfo

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package buildinfo tells the version of the running binary.

The container image injects it at link time:

go build -ldflags "-X github.com/arnakoff/api/internal/platform/buildinfo.version=0.48.0"

Without it, the version of the main module recorded by the Go toolchain is used, as `go install …@v0.48.0` sets it; a local build is "dev".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() string

Version returns the version of the running binary, never empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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