Prefer strings.EqualFold
ProprietaryReplace strings.ToLower(s) == strings.ToLower(n) with strings.EqualFold(s, n).
org. openrewrite. golang. codequality. PreferStringsEqualFoldmod run . --recipe= org. openrewrite. golang. codequality. PreferStringsEqualFoldInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.