Use errors.New for simple errors

Proprietary

Replace fmt.Errorf("static message") with errors.New("static message") when there are no format verbs.

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

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