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,
}
Version
v0.1.12 (latest)
Published
Jul 27, 2022
Platform
linux/amd64
Imports
7 packages (graph)
Last checked
6 hours ago

Tools for package owners.