Prefer io.ReadAll

Proprietary

Replace deprecated ioutil.ReadAll(r) with io.ReadAll(r) (Go 1.16+).

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

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