github.com/april1989/origin-go-tools@v0.0.32/cmd/guru/testdata/src/calls-json/main.golden (about)

     1  -------- @callees @callees-f --------
     2  {
     3  	"pos": "testdata/src/calls-json/main.go:8:3",
     4  	"desc": "dynamic function call",
     5  	"callees": [
     6  		{
     7  			"name": "calls-json.main$1",
     8  			"pos": "testdata/src/calls-json/main.go:12:7"
     9  		}
    10  	]
    11  }
    12  -------- @callstack callstack-main.anon --------
    13  {
    14  	"pos": "testdata/src/calls-json/main.go:12:7",
    15  	"target": "calls-json.main$1",
    16  	"callers": [
    17  		{
    18  			"pos": "testdata/src/calls-json/main.go:8:3",
    19  			"desc": "dynamic function call",
    20  			"caller": "calls-json.call"
    21  		},
    22  		{
    23  			"pos": "testdata/src/calls-json/main.go:12:6",
    24  			"desc": "static function call",
    25  			"caller": "calls-json.main"
    26  		}
    27  	]
    28  }