version

package
v0.1.50 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DevelopmentVersionString = "development"

DevelopmentVersionString is the default, dev-time value for BuildVersion. It's separate so that we can easily determine elsewhere in whether the current build is a dev build or not.

Variables

BuildVersion is used to embed Sherlock's semver in the binary using compiler flags. We mutate this value from the application entrypoint.

Functions

func BuildInfo added in v0.0.23

func BuildInfo() *debug.BuildInfo

BuildInfo thinly wraps the hidden-in-the-documentation runtime/debug.ReadBuildInfo function, which can pull information set at compile-time about the Go version and VCS automatically.

Types

This section is empty.

Jump to

Keyboard shortcuts

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