FAQ
Are nil channels useful?
Any example?

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Andrew Walker at Apr 30, 2014 at 6:34 pm
    Here's one use: http://dave.cheney.net/tag/golang-3

    You can nil a channel to effectively "remove" it from a select statement.
    On Wednesday, April 30, 2014 2:28:11 PM UTC-4, Massimiliano Tomassoli wrote:

    Are nil channels useful?
    Any example?
    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Massimiliano Tomassoli at Apr 30, 2014 at 7:07 pm
    Understood. Thanks.
    On Wednesday, April 30, 2014 8:34:27 PM UTC+2, Andrew Walker wrote:

    Here's one use: http://dave.cheney.net/tag/golang-3

    You can nil a channel to effectively "remove" it from a select statement.

    On Wednesday, April 30, 2014 2:28:11 PM UTC-4, Massimiliano Tomassoli
    wrote:
    Are nil channels useful?
    Any example?
    --
    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+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedApr 30, '14 at 6:28p
activeApr 30, '14 at 7:07p
posts3
users2
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase