Prefer strings.EqualFold (single-sided)
ProprietaryReplace strings.ToLower(s) == t and strings.ToUpper(s) == t with strings.EqualFold(s, t).
org. openrewrite. golang. codequality. PreferStringsEqualFoldSinglemod run . --recipe= org. openrewrite. golang. codequality. PreferStringsEqualFoldSingleInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.