Keep interfaces small

Proprietary

Find interfaces with more than 5 methods. Large interfaces violate the Interface Segregation Principle.

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

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