☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
issue-1332.go
☽
☼
_test/issue-1332.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
func
run(fn
func
(name
string
)) { fn(
"test"
) }
4
5
type
T2
struct
{
6
name
string
7
}
8
9
func
(t *
T2
)
f
(s
string
) { println(s, t.
name
) }
10
11
func
main() {
12
t2 := &
T2
{
"foo"
}
13
run(t2.
f
)
14
}
15
16
// Output:
17
// test foo