Upgrade Go to 1.18
Recipe ID
org.openrewrite.golang.migration.UpgradeGoTo118Artifactgithub.com/moderneinc/recipes-goRaise the go directive in go.mod to Go 1.18, unless it already targets 1.18 or newer.
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.UpgradeGoTo118If the recipe isn’t available locally, install it with:
mod config recipes go install github.com/moderneinc/recipes-go