build

package
Version: v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Information

type Information map[string]interface{}

Information holds the build information.

func Info

func Info(v, b, s, d string) Information

Info is a quick way to populate the build information.

func (Information) Fields

func (i Information) Fields() map[string]interface{}

Fields provides an intuitive way to add the build information to a log entry.

func (Information) Version

func (i Information) Version() string

Version provides the build information as a version string.

Source Files

Jump to

Keyboard shortcuts

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