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

package unusedresult

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

Package unusedresult defines an analyzer that checks for unused results of calls to certain pure functions.

Index

Package Files

unusedresult.go

Constants

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

Variables

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

Package unusedresult imports 9 packages (graph) and is imported by 10 packages. Updated 2019-11-15. Refresh now. Tools for package owners.