☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
defer2.go
☽
☼
_test/defer2.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
import
"fmt"
4
5
func
main() {
6
println(
"hello"
)
7
i :=
12
8
defer
func
() {
9
fmt.
Println
(
"i:"
, i)
10
}()
11
i =
20
12
println(
"world"
)
13
}
14
15
// Output:
16
// hello
17
// world
18
// i: 20