Upgrade Go to 1.21

Proprietary

Raise the go directive in go.mod to Go 1.21, unless it already targets 1.21 or newer.

org.openrewrite.golang.migration.UpgradeGoTo121
mod run . --recipe=org.openrewrite.golang.migration.UpgradeGoTo121

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