Documentation
¶
Overview ¶
Package typeassertionokdiscarded implements a Go analysis linter that flags type assertions in the two-value form where the ok return is explicitly discarded via blank identifier, which can silently accept a zero value.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = analyzerutil.New("typeassertionokdiscarded", "reports type assertions using the two-value form where the ok return is explicitly discarded via blank identifier, which can silently accept a zero value", run)
Analyzer is the type-assertion-ok-discarded analysis pass.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.