drop Go 1.21 and start using go/version

Needing to awkwardly treat Go versions as if they were semver
is no longer necessary thanks to go/version being in Go 1.22.0 now.
This commit is contained in:
Daniel Martí
2024-02-11 21:26:14 +00:00
committed by pagran
parent d76bc2eb47
commit ad2ecc7f2f
42 changed files with 75 additions and 253 deletions

View File

@@ -32,7 +32,7 @@ cd ..
-- mod1/go.mod --
module test/main/mod1
go 1.21
go 1.22
require gopkg.in/garbletest.v2 v2.999.0
@@ -52,7 +52,7 @@ func main() { garbletest.Test() }
-- mod2/go.mod --
module test/main/mod2
go 1.21
go 1.22
require gopkg.in/garbletest.v2 v2.999.0