toolsgolang.org/x/tools/go/analysis/passes/deepequalerrors Index | Files

package deepequalerrors

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

Package deepequalerrors defines an Analyzer that checks for the use of reflect.DeepEqual with error values.

Index

Constants

const Doc = "" /* 238 byte string literal not displayed */

Variables

var Analyzer = &analysis.Analyzer{
	Name:     "deepequalerrors",
	Doc:      Doc,
	URL:      "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/deepequalerrors",
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      run,
}

Source Files

deepequalerrors.go

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

Tools for package owners.