tomarrell / wrapcheck

A Go linter to check that errors from external packages are wrapped
https://blog.tomarrell.com/post/introducing_wrapcheck_linter_for_go
MIT License
291 stars 26 forks source link

deps: upgrade golang.org/x/tools #48

Closed tomarrell closed 4 months ago

tomarrell commented 4 months ago

Also updates the Go version used in tests.

Thanks to @rledisez.

Closes #46

ldez commented 4 months ago

@tomarrell can you downgrade your Go version inside go.mod to go1.21?

Since go1.21, the go version inside go.mod is a hard requirement for projects that depend on a module.

Inside Golangci-lint we should support go1.21.

This will not break your linter because the effective Go version is the version used during the compilation.

tomarrell commented 4 months ago

@ldez yeah sure, will publish a new release shortly.

tomarrell commented 4 months ago

Apologies for the delay @ldez, the new release uses v1.21. Cheers!

https://github.com/tomarrell/wrapcheck/tree/v2.8.3

ldez commented 4 months ago

Thank you @tomarrell :heart: