☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
struct43.go
☽
☼
_test/struct43.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
type
T
struct
{
4
t
func
(*
T
)
5
y
*
xxx
6
}
7
8
func
f(t *
T
) { println(
"in f"
) }
9
10
type
xxx
struct
{}
11
12
func
main() {
13
x := &
T
{}
14
x.
t
= f
15
println(
"ok"
)
16
}
17
18
// Output:
19
// ok