meta

package
v0.0.0-...-1327151 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package meta provides versioning information.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = placeholder
	GitSHA  = placeholder
)

Version and build information. Populated at build time.

View Source
var (
	Name = "cb"
)

Static project information.

Functions

func Populated

func Populated() bool

Populated returns whether build information has been populated.

Types

type Provider

type Provider struct{}

Provider provides configuration based on the project version.

func (Provider) Available

func (Provider) Available() bool

Available checks whether version information was populated.

func (Provider) Configuration

func (Provider) Configuration() (cfg.Configuration, error)

Configuration returns project version and build information.

func (Provider) Doc

func (Provider) Doc() string

Doc describes this configuration provider.

func (Provider) Key

func (Provider) Key() cfg.Key

Key returns "meta".

Jump to

Keyboard shortcuts

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