meta

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package meta contains metadata about the compiler.

Index

Constants

View Source
const DevelopVersion = "devel"

DevelopVersion is the version string used for development builds.

View Source
const UnknownCommit = "unknown commit"

UnknownCommit is the placeholder used for Commit if there is no information about the current commit.

Variables

View Source
var Commit = UnknownCommit

Commit is the commit hash of the binary.

This should be set during compilation using `-ldflags "-X github.com/mavolin/corgi/internal/meta.Commit=foo"`.

View Source
var Version = DevelopVersion

Version is the version of the binary.

This should be set during compilation using `-ldflags "-X github.com/mavolin/corgi/internal/meta.Version=1.2.3"`.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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