versions

package
v1.123.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

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]any

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.

Jump to

Keyboard shortcuts

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