Add a missing go directive

Proprietary

Add a go directive to a go.mod that has none, as go mod tidy always writes one. Defaults to the toolchain version running the recipe, the version go mod tidy would record.

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

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