Debian Codegraph @

_test/method16.go

raw symbols SCIP
1 package main
2
3 import (
4 "fmt"
5 )
6
7 type Cheese struct {
8 property string
9 }
10
11 func (t *Cheese) Hello(param string) {
12 fmt.Printf("%+v %+v", t, param)
13 }
14
15 func main() {
16 (*Cheese).Hello(&Cheese{property: "value"}, "param")
17 }
18
19 // Output:
20 // &{Xproperty:value} param