mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
* gi: rename gi_c into _gi_c * gi: rename test into _test * gi: fix README syntax
17 lines
143 B
Go
17 lines
143 B
Go
package main
|
|
|
|
func main() {
|
|
a := 3
|
|
switch a {
|
|
case 0:
|
|
println(200)
|
|
default:
|
|
println(a)
|
|
case 3:
|
|
println(100)
|
|
}
|
|
}
|
|
|
|
// Output:
|
|
// 100
|