Handle error return value

Proprietary

Replace discarded _ error return values with err to capture the error.

org.openrewrite.golang.codequality.HandleErrorReturn
mod run . --recipe=org.openrewrite.golang.codequality.HandleErrorReturn

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.