You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select statements with a single case can be replaced with a simple send or receive. If you intend to handle the case when there is no value received from channel, add a default case to make the select statement non-blocking. Bad pattern: ```go select { case x := <-ch: fmt.Println(x) …
Occurrences
There is 1 occurrence of this issue in the repository.
Description
Select statements with a single case can be replaced with a simple send or receive. If you intend to handle the case when there is no value received from channel, add a
default
case to make theselect
statement non-blocking. Bad pattern: ```go select { case x := <-ch: fmt.Println(x) …Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/chunshengster/go-eventpublisherfunk/issue/SCC-S1000/occurrences/
The text was updated successfully, but these errors were encountered: