Simplify redundant TrimSpace
ProprietaryReplace strings.TrimSpace(strings.TrimSpace(s)) with strings.TrimSpace(s).
org. openrewrite. golang. codequality. SimplifyRedundantTrimSpacemod run . --recipe= org. openrewrite. golang. codequality. SimplifyRedundantTrimSpaceInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.