Simplify redundant nil check
ProprietarySimplify x != nil && len(x) > 0 to len(x) > 0 for slices and maps.
org. openrewrite. golang. codequality. SimplifyRedundantNilCheckmod run . --recipe= org. openrewrite. golang. codequality. SimplifyRedundantNilCheckInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.