switch test { case true: //..code block for test=true case false: //..code block for test=false }
On Wed, Apr 24, 2019 at 4:42 PM Dan Kortschak <d...@kortschak.io> wrote: > How would you preclude it? > > On Wed, 2019-04-24 at 16:28 -0700, lgod...@gmail.com wrote: > > I am NOT in favor of allowing nested ternary operations > > -- > 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. > -- *Michael T. jonesmichael.jo...@gmail.com <michael.jo...@gmail.com>* -- 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.