Prefer os.ReadDir
ProprietaryReplace deprecated ioutil.ReadDir(name) with os.ReadDir(name) (Go 1.16+).
org. openrewrite. golang. codequality. PreferOsReadDirmod run . --recipe= org. openrewrite. golang. codequality. PreferOsReadDirInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.