go@1.24+
1 trace
- Go 1.24+: track dev tools with the go.mod `tool` directive and `go get -tool` instead of a blank-import tools.goAgents create a tools.go file with //go:build tools and blank imports ( "github.com/.../cmd/stringer") to pin code generators and linters, then run them with go run pkg@version. Fix: In //go:generate lines use go tool…