package ifaceassert

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

Package ifaceassert defines an Analyzer that flags impossible interface-interface type assertions.

Index

Package Files

ifaceassert.go

Constants

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

Variables

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

Directories

PathSynopsis
go/analysis/passes/ifaceassert/cmd
go/analysis/passes/ifaceassert/cmd/ifaceassertThe ifaceassert command runs the ifaceassert analyzer.

Package ifaceassert imports 5 packages (graph).

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

.
Tools for package owners.