Go

Go

Made by DeepSource

Logical expression evaluating to constant value RVV-A0001

Anti-pattern
Major
Autofix

For logical expressions that evaluate to a constant value, the constant value should be used.

Bad practice

return f != f

Recommended

return false