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

Package Files

deepequalerrors.go

Constants

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

Variables

var Analyzer = &analysis.Analyzer{
    Name:     "deepequalerrors",
    Doc:      Doc,
    Requires: []*analysis.Analyzer{inspect.Analyzer},
    Run:      run,
}

Package deepequalerrors imports 6 packages (graph).

Version v0.1.8 (latest) | Published Dec 2, 2021 | Platform: linux/amd64 | Updated 3 weeks ago

.
Tools for package owners.