3 ms·A ternary op, Python's is nice, would be welcome. ;-) map[bool]int{false: 3, true: 14}[foo != 0]by ralph 14y agoA ternary op, Python's is nice, would be welcome. ;-) map[bool]int{false: 3, true: 14}[foo != 0]