tools/oracle/testdata/src/main/callgraph-json.golden

58 lines
921 B
Plaintext

-------- @callgraph callgraph --------
{
"mode": "callgraph",
"callgraph": [
{
"name": "\u003croot\u003e",
"pos": "-",
"children": [
1,
5
]
},
{
"name": "main.main",
"pos": "testdata/src/main/callgraph-json.go:24:6",
"children": [
2,
3,
4
]
},
{
"name": "main.call",
"pos": "testdata/src/main/callgraph-json.go:12:6",
"children": [
6,
7
]
},
{
"name": "main.nop",
"pos": "testdata/src/main/callgraph-json.go:17:6"
},
{
"name": "main.call2",
"pos": "testdata/src/main/callgraph-json.go:19:6",
"children": [
8
]
},
{
"name": "main.init",
"pos": "-"
},
{
"name": "main.A",
"pos": "testdata/src/main/callgraph-json.go:7:6"
},
{
"name": "main.B",
"pos": "testdata/src/main/callgraph-json.go:9:6"
},
{
"name": "func@31.8",
"pos": "testdata/src/main/callgraph-json.go:31:8"
}
]
}