tools: golang.org/x/tools/go/analysis/passes/loopclosure Index | Files

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

Package Files

loopclosure.go

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,
}

Package loopclosure imports 4 packages (graph) and is imported by 10 packages. Updated 2019-09-21. Refresh now. Tools for package owners.