Documentation
¶
Overview ¶
Package typeassertionnil implements a Go analysis linter that flags type assertions to pointer types without an ok-check before dereferencing, which can cause nil pointer panics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = analyzerutil.New("typeassertionnil", "reports type assertions to pointer types without ok-check before dereferencing", run)
Analyzer is the type-assertion-nil analysis pass.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.