By the way, the readers of channel must not close a channel. Only writer can closes it to indicate to reader that channel is closed and nothing can be read from it. You can let channel opens (there is no resource leak), it will be garbage collected anyway.
-- 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.