Example #1
0
func lte(main, other *semver.Version) bool {
	return main.Compare(other) <= 0
}
Example #2
0
func eq(main, other *semver.Version) bool {
	return main.Compare(other) == 0
}
Example #3
0
func gt(main, other *semver.Version) bool {
	return main.Compare(other) > 0
}