Documentation ¶ Index ¶ type Version func NewVersion(major int, minor int, patch int) Version func VersionParse(version string) (Version, error) func (v Version) Compare(other Version) int func (v *Version) IsNewerThan(other *Version) bool 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 { // contains filtered or unexported fields } func NewVersion ¶ func NewVersion(major int, minor int, patch int) Version func VersionParse ¶ func VersionParse(version string) (Version, error) func (Version) Compare ¶ func (v Version) Compare(other Version) int func (*Version) IsNewerThan ¶ func (v *Version) IsNewerThan(other *Version) bool func (Version) String ¶ func (v Version) String() string Source Files ¶ View all Source files version.go Click to show internal directories. Click to hide internal directories.