versionpars

package module
v0.0.0-...-ab49043 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: MIT 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
	Commits    int
	ObjectName string
}

func Parse

func Parse(version string) (v Version, err error)

func (Version) Compare

func (v Version) Compare(other Version) int

func (Version) Equal

func (v Version) Equal(other Version) bool

func (Version) GreatherThan

func (v Version) GreatherThan(other Version) bool

func (Version) LessThan

func (v Version) LessThan(other Version) 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