Simplify redundant bytes.TrimSpace
ProprietaryReplace bytes.TrimSpace(bytes.TrimSpace(b)) with bytes.TrimSpace(b) since TrimSpace is idempotent.
org. openrewrite. golang. codequality. SimplifyRedundantBytesTrimSpacemod run . --recipe= org. openrewrite. golang. codequality. SimplifyRedundantBytesTrimSpaceInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.