Prefer min/max builtins
ProprietaryReplace math.Min(a, b) with min(a, b) and math.Max(a, b) with max(a, b) (Go 1.21+).
org. openrewrite. golang. codequality. PreferMinMaxBuiltinmod run . --recipe= org. openrewrite. golang. codequality. PreferMinMaxBuiltinInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.