Find missing go.mod requirements

Proprietary

Find imports of third-party packages that are not covered by any require directive in the module's go.mod. These are the requirements go mod tidy would add; adding them automatically is not possible offline because it requires resolving module versions over the network.

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

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