Closed crazytaxi824 closed 1 year ago
in go 1.21.0, $ go mod init foo will create a go.mod file with go 1.21.0 in it, instead of go 1.21. in this case, goimports-reviser will show an error message:
$ go mod init foo
go 1.21.0
go 1.21
go.mod:3: invalid go version '1.21.0': must match format 1.23
this is an issue related to go: https://github.com/golang/go/issues/61851
in go 1.21.0,
$ go mod init foo
will create a go.mod file withgo 1.21.0
in it, instead ofgo 1.21
. in this case, goimports-reviser will show an error message: