github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/oracle/testdata/src/main/callgraph-json.golden (about)

     1  -------- @callgraph callgraph --------
     2  {
     3  	"mode": "callgraph",
     4  	"callgraph": [
     5  		{
     6  			"name": "main.main",
     7  			"pos": "testdata/src/main/callgraph-json.go:24:6",
     8  			"children": [
     9  				0,
    10  				1,
    11  				2,
    12  				3
    13  			]
    14  		},
    15  		{
    16  			"name": "main.call",
    17  			"pos": "testdata/src/main/callgraph-json.go:12:6",
    18  			"children": [
    19  				5,
    20  				6
    21  			]
    22  		},
    23  		{
    24  			"name": "main.nop",
    25  			"pos": "testdata/src/main/callgraph-json.go:17:6"
    26  		},
    27  		{
    28  			"name": "main.call2",
    29  			"pos": "testdata/src/main/callgraph-json.go:19:6",
    30  			"children": [
    31  				7
    32  			]
    33  		},
    34  		{
    35  			"name": "main.init",
    36  			"pos": "-"
    37  		},
    38  		{
    39  			"name": "main.A",
    40  			"pos": "testdata/src/main/callgraph-json.go:7:6"
    41  		},
    42  		{
    43  			"name": "main.B",
    44  			"pos": "testdata/src/main/callgraph-json.go:9:6"
    45  		},
    46  		{
    47  			"name": "main.main$1",
    48  			"pos": "testdata/src/main/callgraph-json.go:31:8"
    49  		}
    50  	]
    51  }