buildinfo

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Instrument

func Instrument(ctx context.Context)

Instrument logs the version, git commit hash, and timestamp from the runtime build info. It also sets metrics.

func NewVersionCmd

func NewVersionCmd() *cobra.Command

func Version added in v0.1.1

func Version() string

Version returns the version of the whole omni-monorepo and all binaries built from this git commit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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