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

@@ -52,7 +52,7 @@ stdout 'package bar_test, func name: test/bar\.OriginalFuncName'
-- go.mod --
module test/bar
go 1.21
go 1.22
-- bar.go --
package bar