(operator | not defined on bool)
Umm ok, let's find the bitwise or operator, and turns out it's |= because go wanted to be different I guess
if(! ok1|=ok2...){
panic()
}
But it's still the same issue.
Short of digging a hole 10 or so if statements deep, what is the idiomatic was of checking a list of bools in go?
Thanks!
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.