Prefer sort.Ints over sort.Sort(sort.IntSlice)

Proprietary

Replace sort.Sort(sort.IntSlice(s)) with sort.Ints(s).

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

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