☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
struct5.go
☽
☼
_test/struct5.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
}
7
8
func
f(i
int
)
int
{
return
i * i }
9
10
func
main() {
11
a :=
T
{
7
, f(
4
)}
12
println(a.
f
, a.
g
)
13
}
14
15
// Output:
16
// 7 16