...

Package bools

import "cmd/vendor/golang.org/x/tools/go/analysis/passes/bools"
Overview
Index

Overview ▾

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,
    URL:      "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/bools",
    Requires: []*analysis.Analyzer{inspect.Analyzer},
    Run:      run,
}