version

package
v0.0.0-...-8ffa6c8 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Major version number
	Major = 1
	// Minor version number
	Minor = 1
)

Variables

View Source
var (
	// Build number
	Build string
)

Functions

func Compatible

func Compatible(v string) (bool, error)

Compatible returns true if Major matches the major version of the given version string. It returns an error if the given string is not a valid version string.

func String

func String() string

String returns the complete version number.

Types

This section is empty.

Jump to

Keyboard shortcuts

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