package bools

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

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

Index

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,
}

Source Files

bools.go

Version
v0.9.3
Published
Jun 1, 2023
Platform
js/wasm
Imports
7 packages
Last checked
5 hours ago

Tools for package owners.