Prefer bytes.ContainsRune
ProprietaryReplace bytes.IndexRune(b, r) != -1 with bytes.ContainsRune(b, r) and bytes.IndexRune(b, r) == -1 with !bytes.ContainsRune(b, r).
org. openrewrite. golang. codequality. PreferBytesContainsRunemod run . --recipe= org. openrewrite. golang. codequality. PreferBytesContainsRuneInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.