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

package bools

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

Package bools defines an Analyzer that detects common mistakes involving boolean operators.

Index

Package Files

bools.go

Variables

var Analyzer = &analysis.Analyzer{
    Name:     "bools",
    Doc:      "check for common mistakes involving boolean operators",
    Requires: []*analysis.Analyzer{inspect.Analyzer},
    Run:      run,
}

Package bools imports 7 packages (graph) and is imported by 10 packages. Updated 2019-09-20. Refresh now. Tools for package owners.