Audit goroutine closure

Proprietary

Find go func() { ... }() patterns. Goroutines with closures can inadvertently capture loop variables.

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

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