metadata

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VERSION = &Version{
	Major:            0,
	Minor:            1,
	Patch:            1,
	ReleaseCandidate: 0,
	Beta:             false,
}

VERSION is the current version for this package Update this with "yo gop:minor", "yo gop:minor" and "yo gop:patch". To enable beta "yo gop:beta" and RC number with "yo gop:rc 2".

Functions

func GetVersion

func GetVersion(v ...*Version) string

GetVersion in string format of Major.Minor.Patch(-beta|-rc.1)?

Types

type Version

type Version struct {
	Major            int
	Minor            int
	Patch            int
	ReleaseCandidate int
	Beta             bool
}

Version represents a SemVer version for this package

Jump to

Keyboard shortcuts

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