goretk/gore

`GoVersionCompare` can provide wrong result

Closed this issue · 0 comments

Zxilly commented

For exmaple, it believes go1.8.5rc5 less than go1

image

Golang just introduces a new builtin lib https://github.com/golang/go/blob/master/src/go/version/version.go to solve the comparison of golang versions. But it's available since go1.22rc1. Maybe we can make a copy of the lib?