Remove unused imports
ProprietaryRemove imports for packages that are not referenced by any identifier in the file. Blank (_) imports are preserved.
org. openrewrite. golang. RemoveUnusedImportsmod run . --recipe= org. openrewrite. golang. RemoveUnusedImportsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.