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

Constants

const Doc = "check for common mistakes involving boolean operators"

Variables

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

Package bools imports 7 packages (graph) and is imported by 11 packages. Updated 2020-02-27. Refresh now. Tools for package owners.