☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
switch.go
☽
☼
_test/switch.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
func
main() {
4
a :=
3
5
switch
a {
6
case
0
:
7
println(
200
)
8
default
:
9
println(a)
10
case
3
:
11
println(
100
)
12
}
13
}
14
15
// Output:
16
// 100