☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
composite7.go
☽
☼
_test/composite7.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
name
string
5
}
6
7
var
tab = []*
T
{{
8
name:
"foo"
,
9
}, {
10
name:
"bar"
,
11
}}
12
13
func
main() {
14
println(len(tab))
15
println(tab[
0
].
name
)
16
}
17
18
// Output:
19
// 2
20
// foo