version

package
v0.0.0-...-dc1fca4 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	Major int
	Minor int
	Patch int
}

func New

func New(major, minor, patch int) *Version

func Parse

func Parse(raw string) (v *Version, e error)

func (*Version) Less

func (version *Version) Less(other *Version) bool

func (*Version) Parse

func (version *Version) Parse(raw string) error

func (*Version) String

func (version *Version) String() string

Jump to

Keyboard shortcuts

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