Closed 1995parham closed 2 years ago
Good point. I've just added the -ignoreTypeAssertOk
flag that will allow to ignore ok
variables that hold the bool return value of a type assertion.
I will also add similar flags for the bool return values of channel receive and map index.
The ok
variable name will be hard-coded for the time being.
Thank you for your attention and work :+1:
There are cases like:
which
ok
is a known pattern.