Documentation
¶
Index ¶
- type Version
- func (v Version) IsEqual(other Version) bool
- func (v Version) IsNewerThan(other Version) bool
- func (v Version) IsNewerThanMajor(other Version) bool
- func (v Version) IsOlderMajorThan(other Version) bool
- func (v Version) IsOlderThan(other Version) bool
- func (v Version) IsOlderThanMajor(other Version) bool
- func (v Version) MarshalText() ([]byte, error)
- func (v Version) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct{ Generation, Major, Minor int }
func (Version) IsNewerThan ¶
func (Version) IsNewerThanMajor ¶
func (Version) IsOlderMajorThan ¶
func (Version) IsOlderThan ¶
func (Version) IsOlderThanMajor ¶
func (Version) MarshalText ¶
Click to show internal directories.
Click to hide internal directories.