Keep functions short

Proprietary

Find functions with more than 20 statements. Long functions are harder to understand and maintain.

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

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