☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
struct3.go
☽
☼
_test/struct3.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
f
int
5
g
int
6
h
struct
{
7
k
int
8
}
9
}
10
11
func
f(i
int
)
int
{
return
i +
3
}
12
13
func
main() {
14
a :=
T
{}
15
a.
h
.
k
= f(
4
)
16
println(a.
h
.
k
)
17
}
18
19
// Output:
20
// 7