Prefer empty string check

Proprietary

Replace len(s) == 0 with s == "" and len(s) != 0 with s != "".

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

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