toolsgolang.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

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,
}

Source Files

unusedresult.go

Version
v0.1.10
Published
Mar 15, 2022
Platform
js/wasm
Imports
10 packages
Last checked
5 hours ago

Tools for package owners.