Documentation
¶
Index ¶
- func Equal(v1 string, v2 string) bool
- func EqualMinor(v1 string, v2 string) bool
- func Greater(v1 string, v2 string) bool
- func GreaterOrEqual(v1 string, v2 string) bool
- func Matches(v1 string, v2 string) bool
- func StripModifier(v string) string
- func StripPatch(v string) string
- type Version
- func (v *Version) Equal(other *Version) bool
- func (v *Version) EqualMinor(other *Version) bool
- func (v *Version) Greater(other *Version) bool
- func (v *Version) GreaterOrEqual(other *Version) bool
- func (v *Version) HasPatch() bool
- func (v *Version) Matches(other *Version) bool
- func (v *Version) PatchVersion() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualMinor ¶ added in v0.2.0
func GreaterOrEqual ¶ added in v0.9.10
func StripModifier ¶ added in v0.9.21
func StripPatch ¶ added in v0.9.10
Types ¶
type Version ¶
func MustVersion ¶
func NewVersion ¶
func (*Version) EqualMinor ¶ added in v0.2.0
func (*Version) GreaterOrEqual ¶ added in v0.9.10
func (*Version) PatchVersion ¶ added in v0.9.21
Click to show internal directories.
Click to hide internal directories.