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,
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      run,
}

Source Files

bools.go

Version
v0.1.10
Published
Mar 15, 2022
Platform
js/wasm
Imports
7 packages
Last checked
5 hours ago

Tools for package owners.