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

package copylock

import "golang.org/x/tools/go/analysis/passes/copylock"

Package copylock defines an Analyzer that checks for locks erroneously passed by value.

Index

Package Files

copylock.go

Constants

const Doc = "" /* 234 byte string literal not displayed */

Variables

var Analyzer = &analysis.Analyzer{
    Name:             "copylocks",
    Doc:              Doc,
    Requires:         []*analysis.Analyzer{inspect.Analyzer},
    RunDespiteErrors: true,
    Run:              run,
}

Package copylock imports 9 packages (graph) and is imported by 9 packages. Updated 2019-07-19. Refresh now. Tools for package owners.