Prefer os.ReadFile

Proprietary

Replace deprecated ioutil.ReadFile(name) with os.ReadFile(name) (Go 1.16+).

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

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