☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
struct27.go
☽
☼
_test/struct27.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
import
"fmt"
4
5
func
(f *
Foo
)
Boo
() { fmt.
Println
(f.
name
,
"Boo"
) }
6
7
type
Foo
struct
{
8
name
string
9
fun
func
(f *
Foo
)
10
}
11
12
func
main() {
13
t := &
Foo
{name:
"foo"
}
14
t.
Boo
()
15
}
16
17
// Output:
18
// foo Boo