Documentation
¶
Overview ¶
Package blankassigncomma implements a Go analysis linter that flags assignment statements where every result is discarded via blank identifiers (e.g., _, _ = f()), which is often a code smell indicating the function should be called without assignment, or a result should be checked instead of dropped.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = analyzerutil.New("blankassigncomma", "reports assignments where every result is discarded via blank identifiers, which may indicate unintended result ignoring", run)
Analyzer is the blank-assign-comma analysis pass.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.