Remove package prefix from name

Proprietary

Find exported identifiers whose name starts with the package name. Go convention discourages repeating the package name in exported identifiers.

org.openrewrite.golang.codequality.RemovePackagePrefixFromName
mod run . --recipe=org.openrewrite.golang.codequality.RemovePackagePrefixFromName

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