Audit channel close

Proprietary

Find calls to the built-in close() function. Channels should only be closed by the sender, and double-closing causes a panic.

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

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