Prefer io.ReadAll
ProprietaryReplace deprecated ioutil.ReadAll(r) with io.ReadAll(r) (Go 1.16+).
org. openrewrite. golang. codequality. PreferIoReadAllmod run . --recipe= org. openrewrite. golang. codequality. PreferIoReadAllInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.