Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compare ¶
Compare returns 0 if two versions are equal a negative number if this < other and a positive number if this > other If this and other are both compliant with semver, then semver sorting rules are used Otherwise the versions are compared component-by-component, numerically if both are numeric If !strictSort insignificant trailing components are ignored (1.0.0.0 == 1) and the alpha comparison is case-insensitive
func IsValidVersion ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.