Help us shape the future of Go! Take the 2026 Go Developer Survey

version

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2016 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// The git commit that was compiled. This will be filled in by the compiler.
	GitCommit   string
	GitDescribe string

	Version           = "unknown"
	VersionPrerelease = "unknown"
)

Functions

This section is empty.

Types

type VersionInfo

type VersionInfo struct {
	Revision          string
	Version           string
	VersionPrerelease string
}

VersionInfo

func GetVersion

func GetVersion() *VersionInfo

func (*VersionInfo) String

func (c *VersionInfo) String() string

Jump to

Keyboard shortcuts

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