versions

package
Version: v1.110.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProjectVersion = "master"
	ProjectSha     = "edcc353e7c61c4c3775380b37e04ca8ba747d13f"
)

Versions of the current project.

Functions

func Fields

func Fields() []zapcore.Field

Fields returns a ready to dump zap.Fields containing all the versions used.

func JSON

func JSON() ([]byte, error)

JSON returns the version as a ready to send json data.

func Map

func Map() map[string]interface{}

Map returns the version information as a map.

func ToString

func ToString(prefix string) string

ToString returns the string version of versions

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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