Avoid reflection
ProprietaryFind reflect.TypeOf() and reflect.ValueOf() calls. Reflection is slow and should be avoided in performance-sensitive code.
org. openrewrite. golang. codequality. AvoidReflectionmod run . --recipe= org. openrewrite. golang. codequality. AvoidReflectionInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.