Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Version ¶ added in v0.4.0
type Version struct {
// contains filtered or unexported fields
}
func NewVersion ¶ added in v0.4.0
func (*Version) AtLeast ¶ added in v0.4.0
Returns true if this version is larger or equals from the version sent as an argument.
func (*Version) Compare ¶ added in v0.4.0
If ver1 == version returns 0 If ver1 > version returns 1 If ver1 < version returns -1
func (*Version) SetVersion ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.