* Marvin Renich <m...@renich.org> [160920 08:26]: > As a general rule of thumb, use a select only when you have more than > one channel send and/or receive that you want to wait for, and only use ^ different > a default case when you have other work that can be done if the channel > operations are all blocked (waiting). Don't use default in an otherwise > empty for loop around a select.
That is, you are reading from and/or writing to multiple different channels. ...Marvin -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.