version

package
v0.0.0-...-1b0ebdf Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(a, b Version) int

func Sort

func Sort(versions []string)

Types

type Version

type Version struct {
	// contains filtered or unexported fields
}

func New

func New(s string) (v Version, err error)

func (Version) Compare

func (v Version) Compare(other Version) int

func (Version) Epoch

func (v Version) Epoch() uint64

func (Version) IsEmpty

func (v Version) IsEmpty() bool

func (Version) String

func (v Version) String() string

Jump to

Keyboard shortcuts

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