package lostcancel
import "golang.org/x/tools/go/analysis/passes/lostcancel"
Package lostcancel defines an Analyzer that checks for failure to call a context cancellation function.
Index ¶
Constants ¶
const Doc = "" /* 284 byte string literal not displayed */
Variables ¶
var Analyzer = &analysis.Analyzer{ Name: "lostcancel", Doc: Doc, Run: run, Requires: []*analysis.Analyzer{ inspect.Analyzer, ctrlflow.Analyzer, }, }
Source Files ¶
lostcancel.go
Directories ¶
Path | Synopsis |
---|---|
go/analysis/passes/lostcancel/cmd | |
go/analysis/passes/lostcancel/cmd/lostcancel | The lostcancel command applies the golang.org/x/tools/go/analysis/passes/lostcancel analysis to the specified packages of Go source code. |
- Version
- v0.1.10
- Published
- Mar 15, 2022
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 5 hours ago –
Tools for package owners.