Add missing go.mod requirements

Proprietary

Add require directives for modules the resolved build list needs but go.mod does not declare, at their resolved versions and with the // indirect marker the toolchain assigned. Mirrors what go mod tidy adds, using the module graph resolved at parse time.

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

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