version

package
v0.0.0-...-4d3f714 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VersionFile    = "VERSION"
	DefaultVersion = "latest"
)

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	Version   string `json:"version" yaml:"version"`
	Commit    string `json:"commit" yaml:"commit"`
	Built     string `json:"built" yaml:"built"`
	GoChassis string `json:"Go-Chassis" yaml:"Go-Chassis"`
}

Version is a struct which has attributes for version

func Ver

func Ver() *Version

Ver returns version

Jump to

Keyboard shortcuts

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