package loopclosure
import "golang.org/x/tools/go/analysis/passes/loopclosure"
Package loopclosure defines an Analyzer that checks for references to enclosing loop variables from within nested functions.
Index ¶
Constants ¶
const Doc = "" /* 530 byte string literal not displayed */
Variables ¶
var Analyzer = &analysis.Analyzer{ Name: "loopclosure", Doc: Doc, Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Source Files ¶
loopclosure.go
- Version
- v0.1.10
- Published
- Mar 15, 2022
- Platform
- js/wasm
- Imports
- 6 packages
- Last checked
- 5 hours ago –
Tools for package owners.