tools: golang.org/x/tools/go/analysis/passes/unreachable Index | Files

package unreachable

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

Package unreachable defines an Analyzer that checks for unreachable code.

Index

Package Files

unreachable.go

Constants

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

Variables

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

Package unreachable imports 6 packages (graph) and is imported by 10 packages. Updated 2019-11-18. Refresh now. Tools for package owners.