version

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version contains the build version, or 'development' if this is a
	// development build.
	Version = "devlopment"

	// Commit contains the commit hash of the build, or 'development' if this
	// is a development build.
	Commit = "development"

	// Date contains the built date, or the current time if this is a
	// development build.
	Date = time.Now().UTC().Format(time.RFC3339)
)

Functions

func String

func String() string

String returns the current version information formatted as a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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