Simplify complex switch

Proprietary

Find switch statements with more than 10 cases. Consider using a map or strategy pattern.

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

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