Simplify redundant bytes.TrimSpace

Proprietary

Replace bytes.TrimSpace(bytes.TrimSpace(b)) with bytes.TrimSpace(b) since TrimSpace is idempotent.

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

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