VersionCompare
#
VersionComparefunc VersionCompare(v1, v2 string) int
Compare two version number strings, Prefix v
optional:
The v1
is greater than the v2
returns 1
.
The v2
is greater than the v1
return -1
.
Return 0 if both sides are equal.