Prefer strconv.FormatBool over fmt.Sprintf
ProprietaryReplace fmt.Sprintf("%t", b) with strconv.FormatBool(b) for better performance.
org. openrewrite. golang. codequality. PreferStrconvFormatBoolmod run . --recipe= org. openrewrite. golang. codequality. PreferStrconvFormatBoolInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.