github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/switch28.gno (about) 1 package main 2 3 func main() { 4 switch { 5 case true: 6 println("true") 7 case false: 8 println("false") 9 } 10 println("bye") 11 } 12 13 // Output: 14 // true 15 // bye