Documentation ¶
Index ¶
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 (*Version) AtLeast ¶
Returns true if this version is larger or equals from the version sent as an argument.
func (*Version) Compare ¶
If ver1 == version returns 0 If ver1 > version returns 1 If ver1 < version returns -1
func (*Version) SetVersion ¶
Click to show internal directories.
Click to hide internal directories.