☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
switch35.go
☽
☼
_test/switch35.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 :=
2
5
switch
{
6
case
a ==
1
:
7
println(
1
)
8
case
a ==
2
:
9
println(
2
)
10
default
:
11
}
12
println(
"bye"
)
13
}
14
15
// Output:
16
// 2
17
// bye