Change method name
ProprietaryRename method invocations matching a method pattern.
org. openrewrite. golang. ChangeMethodNameRequired
A method pattern to match method invocations.
The new name for the method.
mod run . --recipe= org. openrewrite. golang. ChangeMethodName \
-P methodPattern= 'fmt. Println(.. )' \
-P newMethodName= PrintfInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.