Documentation ¶
Index ¶
- func IsValid(versionName string) bool
- type Version
- func (v Version) BadString() string
- func (v Version) GreaterThan(anotherVersion Version) bool
- func (v Version) GreaterThanOrEqual(anotherVersion Version) bool
- func (v Version) LessThan(anotherVersion Version) bool
- func (v Version) LessThanOrEqual(anotherVersion Version) bool
- func (v Version) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Version ¶
type Version struct { Major int Minor int Patch int Commit string PreReleaseIdentifier string PreReleaseVersion int }
func ParseVersion ¶
func (Version) GreaterThan ¶
func (Version) GreaterThanOrEqual ¶
func (Version) LessThanOrEqual ¶
Click to show internal directories.
Click to hide internal directories.