☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
recurse3.go
☽
☼
_test/recurse3.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
type
F
func
(a *
A
)
4
5
type
A
struct
{
6
B
string
7
D
8
}
9
10
type
D
struct
{
11
*
A
12
E
*
A
13
f
F
14
}
15
16
func
f1(a *
A
) { println(
"in f1"
, a.
B
) }
17
18
func
main() {
19
a := &
A
{B:
"b"
}
20
a.
D
=
D
{f: f1}
21
a.
f
(a)
22
}
23
24
// Output:
25
// in f1 b