picatz / taint

🚰 Static taint analysis for Go programs.
https://picatz.github.io/#blog/taint
Mozilla Public License 2.0
57 stars 1 forks source link

Specify Go 1.21 as the minimum version #32

Closed picatz closed 10 months ago

picatz commented 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.

[!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.