Use .Error() method
ProprietaryReplace fmt.Sprint(err) with err.Error() for clarity.
org. openrewrite. golang. codequality. UseErrorMethodmod run . --recipe= org. openrewrite. golang. codequality. UseErrorMethodInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.