github.com/traefik/yaegi@v0.15.1/_test/switch30.go (about) 1 package main 2 3 func main() { 4 a := 3 5 switch a { 6 default: 7 //println("default") 8 case 3: 9 println("three") 10 } 11 println("bye") 12 } 13 14 // Output: 15 // three 16 // bye