Data flow analysis
- Constant condition
Reports conditions in code that always evaluate to true or false.
- Data flow analysis
Write your description here.
- Error may be not nil
Reports instances where variables might have nil or an unexpected value because of the associated error that is not checked for being non-nil, as in v, err := foo().
- Interprocedural potential nil dereference
This inspection detects potential nil dereferences, taking into account all function calls.
- Potential nil dereference
Reports instances where pointers that might be nil are dereferenced.
Last modified: 29 July 2025