On Thu, Mar 22, 2018 at 4:46 PM <[email protected]> wrote: > Can I assume that the code above will never panic?
Yes: """" If one or more of the communications can proceed, a single one that can proceed is chosen via a uniform pseudo-random selection. Otherwise, if there is a default case, that case is chosen. If there is no default case, the "select" statement blocks until at least one of the communications can proceed. """" No: If any another goroutine reads from 'testChannel' -- -j -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
