Back to godoc.org

Package bools

v0.0.0-...-bf155c1
Latest Go to latest

The highest tagged major version is .

Published: Sep 29, 2020 | License: BSD-3-Clause | Module: golang.org/x/tools

Overview

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,
}
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier