Directories
¶
| Path | Synopsis |
|---|---|
|
Package errcmp defines an Analyzer which checks for usage of errors.Is instead of direct ==/!= comparisons.
|
Package errcmp defines an Analyzer which checks for usage of errors.Is instead of direct ==/!= comparisons. |
|
Package hash defines an Analyzer that detects correct use of hash.Hash.
|
Package hash defines an Analyzer that detects correct use of hash.Hash. |
|
Package nilness inspects the control-flow graph of an SSA function and reports errors such as nil pointer dereferences and degenerate nil pointer comparisons.
|
Package nilness inspects the control-flow graph of an SSA function and reports errors such as nil pointer dereferences and degenerate nil pointer comparisons. |
|
Package passesutil provides useful functionality for implementing passes.
|
Package passesutil provides useful functionality for implementing passes. |
|
Package returnerrcheck defines an suite of Analyzers that detects conditionals which check for a non-nil error and then proceed to return a nil error.
|
Package returnerrcheck defines an suite of Analyzers that detects conditionals which check for a non-nil error and then proceed to return a nil error. |
|
Package unconvert defines an Analyzer that detects unnecessary type conversions.
|
Package unconvert defines an Analyzer that detects unnecessary type conversions. |
Click to show internal directories.
Click to hide internal directories.