ver

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidVersionQuad = errors.New("invalid version quad")

Functions

This section is empty.

Types

type Quad

type Quad struct {
	Major uint32
	Minor uint32
	Patch uint32
	Build uint32
}

func ParseQuad

func ParseQuad(s string) (Quad, error)

func RelaxedParseQuad

func RelaxedParseQuad(s string) (Quad, error)

func (*Quad) Compare

func (v *Quad) Compare(o Quad) int

func (*Quad) String

func (q *Quad) String() string

Jump to

Keyboard shortcuts

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