version

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrOverSize = errors.New("Too large version number")
View Source
var ErrOverflowSection = errors.New("Too long version sections")

Functions

func Equal

func Equal(v1, v2 string) bool

func GreaterThan

func GreaterThan(v1, v2 string) bool

func LessThan

func LessThan(v1, v2 string) bool

Types

type T

type T = byte

func Compare

func Compare(v1, v2 string) (result T, err error)

Jump to

Keyboard shortcuts

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