☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
interface12.go
☽
☼
_test/interface12.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
type
I1
interface
{
4
Truc
()
5
}
6
7
type
T1
struct
{}
8
9
func
(
T1
)
Truc
() { println(
"in T1 truc"
) }
10
11
var
x
I1
=
T1
{}
12
13
func
main() {
14
x.
Truc
()
15
}
16
17
// Output:
18
// in T1 truc