tools: golang.org/x/tools/internal/lsp/analysis/noresultvalues Index | Files

package noresultvalues

import "golang.org/x/tools/internal/lsp/analysis/noresultvalues"

Package noresultvalues defines an Analyzer that applies suggested fixes to errors of the type "no result values expected".

Index

Package Files

noresultvalues.go

Constants

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

Variables

var Analyzer = &analysis.Analyzer{
    Name:             string(analysisinternal.NoResultValues),
    Doc:              Doc,
    Requires:         []*analysis.Analyzer{inspect.Analyzer},
    Run:              run,
    RunDespiteErrors: true,
}

func FixesError Uses

func FixesError(msg string) bool

Package noresultvalues imports 7 packages (graph) and is imported by 2 packages. Updated 2020-07-15. Refresh now. Tools for package owners.