Documentation
¶
Overview ¶
Package contextcancelnotdeferred implements a Go analysis linter that flags context cancel functions called manually instead of deferred.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "contextcancelnotdeferred", Doc: "reports context cancel functions that are called directly instead of deferred", URL: "https://github.com/github/gh-aw/tree/main/pkg/linters/contextcancelnotdeferred", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, }
Analyzer is the context-cancel-not-deferred analysis pass.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.