mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
15 lines
127 B
Go
15 lines
127 B
Go
package main
|
|
|
|
func main() {
|
|
a := 2
|
|
switch {
|
|
case a == 1:
|
|
println(1)
|
|
case a == 2:
|
|
}
|
|
println("bye")
|
|
}
|
|
|
|
// Output:
|
|
// bye
|