Simplify complex switch
ProprietaryFind switch statements with more than 10 cases. Consider using a map or strategy pattern.
org. openrewrite. golang. codequality. SimplifyComplexSwitchmod run . --recipe= org. openrewrite. golang. codequality. SimplifyComplexSwitchInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.