func (v Version) GreaterThanOrEqualTo(other Version) bool {
	return v.compareTo(other) >= 0
}
GreaterThanOrEqualTo checks ia version is greater than or equal to another
package version
import (
	"strconv"
	"strings"
)
type Version string
func (v Version) compareTo(other Version) int {
	var (
		currTab  = strings.Split(string(v), ".")
		otherTab = strings.Split(string(other), ".")
	)
	max := len(currTab)
	if len(otherTab) > max {
		max = len(otherTab)
	}
	for i := 0; i < max; i++ {
		var currInt, otherInt int
		if len(currTab) > i {
			currInt, _ = strconv.Atoi(currTab[i])
		}
		if len(otherTab) > i {
			otherInt, _ = strconv.Atoi(otherTab[i])
		}
		if currInt > otherInt {
			return 1
		}
		if otherInt > currInt {
			return -1
		}
	}
	return 0
}
func (v Version) LessThan(other Version) bool {
	return v.compareTo(other) == -1
}
func (v Version) LessThanOrEqualTo(other Version) bool {
	return v.compareTo(other) <= 0
}
func (v Version) GreaterThan(other Version) bool {
	return v.compareTo(other) == 1
}