buildmeta

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildInfoMainVersion

func BuildInfoMainVersion() string

BuildInfoMainVersion returns the version embedded by the Go toolchain.

func MainVersion

func MainVersion() string

MainVersion returns the version injected through main.Version.

func SetMainVersion

func SetMainVersion(version string)

SetMainVersion records the version injected into package main at process start.

func Version

func Version() string

Version returns the preferred service version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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