Prefer strings.EqualFold

Proprietary

Replace strings.ToLower(s) == strings.ToLower(n) with strings.EqualFold(s, n).

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

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