☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
struct22.go
☽
☼
_test/struct22.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
type
S
struct
{
4
Child
*
S
5
Name
string
6
}
7
8
func
main() {
9
s := &
S
{Name:
"root"
}
10
s.
Child
= &
S
{Name:
"child"
}
11
println(s.
Child
.
Name
)
12
}
13
14
// Output:
15
// child