package ifaceassert

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

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

Copyright 2022 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Index

Package Files

ifaceassert.go parameterized.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.
Version
v0.1.12 (latest)
Published
Jul 27, 2022
Platform
linux/amd64
Imports
6 packages (graph)
Last checked
7 hours ago

Tools for package owners.