Closed picatz closed 10 months ago
This PR aims to fix #31 by specifying that 1.21 is the minimum version of Go required to compile packages in this module. While I was at it, I ran go mod tidy, which maybe wasn't necessary.
go mod tidy
[!NOTE] In 1.21, the (*go/types.Package).GoVersion method was added to enable individual "checkers" to be able to find out the Go version associated with a given package (https://github.com/golang/go/issues/61175). We use that new method here.
(*go/types.Package).GoVersion
This PR aims to fix #31 by specifying that 1.21 is the minimum version of Go required to compile packages in this module. While I was at it, I ran
go mod tidy
, which maybe wasn't necessary.