Swap github.com/golang/mock imports to go.uber.org/mock
ProprietaryRepoint every github.com/golang/mock import at go.uber.org/mock, which covers gomock, mockgen and mockgen/model. The fork's API is a superset of the original's, so call sites are unchanged; only the import path and its type attribution move.
org. openrewrite. golang. migration. SwapGolangMockImportsmod run . --recipe= org. openrewrite. golang. migration. SwapGolangMockImportsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.