Find golang.org/x/exp usage the standard library covers
Recipe ID
org.openrewrite.golang.migration.FindXExpUsageArtifactgithub.com/moderneinc/recipes-goMark every golang.org/x/exp/slices, /maps and /constraints call and type reference with its standard-library replacement, and warn on the two shapes that do not have one: the numeric constraints, and a boolean comparator passed to a sort function.
Single recipeProprietary
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe org.openrewrite.golang.migration.FindXExpUsageIf the recipe isn’t available locally, install it with:
mod config recipes go install github.com/moderneinc/recipes-go