Prefer canonical len check

Proprietary

Normalize len(s) >= 1 to len(s) > 0 and len(s) < 1 to len(s) == 0.

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

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