2018-02-07 23:20:41 +03:00
|
|
|
{
|
|
|
|
"modules": {
|
|
|
|
"app": {
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
|
|
|
3,
|
|
|
|
8
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
3,
|
2018-03-09 00:01:13 +03:00
|
|
|
19
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"path": "lib/Foo",
|
|
|
|
"symbols": [],
|
|
|
|
"alias": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
|
|
|
4,
|
|
|
|
8
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
4,
|
|
|
|
19
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"path": "lib/Bar",
|
|
|
|
"symbols": [],
|
|
|
|
"alias": ""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
|
|
|
5,
|
|
|
|
8
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
5,
|
|
|
|
20
|
2018-02-07 23:20:41 +03:00
|
|
|
]
|
|
|
|
},
|
2018-03-09 00:01:13 +03:00
|
|
|
"path": "lib/Math",
|
2018-02-07 23:20:41 +03:00
|
|
|
"symbols": [],
|
2018-03-09 00:01:13 +03:00
|
|
|
"alias": "m"
|
2018-02-07 23:20:41 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
|
|
|
6,
|
2018-03-09 00:01:13 +03:00
|
|
|
8
|
2018-02-07 23:20:41 +03:00
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
6,
|
2018-03-09 00:01:13 +03:00
|
|
|
18
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"path": "lib/Math",
|
|
|
|
"symbols": [],
|
|
|
|
"alias": "Math"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
|
|
|
9,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
9,
|
2018-02-07 23:20:41 +03:00
|
|
|
12
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"path": "net/http",
|
|
|
|
"symbols": [],
|
|
|
|
"alias": "http"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "app",
|
|
|
|
"language": "Go",
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
2018-03-09 00:01:13 +03:00
|
|
|
12,
|
2018-02-07 23:20:41 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2018-03-09 00:01:13 +03:00
|
|
|
12,
|
2018-02-07 23:20:41 +03:00
|
|
|
14
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"kind": "Function",
|
2018-03-03 02:30:51 +03:00
|
|
|
"name": "foo",
|
|
|
|
"module": "app"
|
2018-02-07 23:20:41 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
2018-03-09 00:01:13 +03:00
|
|
|
14,
|
2018-02-07 23:20:41 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2018-03-09 00:01:13 +03:00
|
|
|
19,
|
2018-02-07 23:20:41 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"kind": "Function",
|
2018-03-03 02:30:51 +03:00
|
|
|
"name": "main",
|
|
|
|
"module": "app"
|
2018-02-07 23:20:41 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"paths": [
|
|
|
|
"test/fixtures/go/import-graph/main.go"
|
|
|
|
],
|
|
|
|
"calls": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
2018-03-09 00:01:13 +03:00
|
|
|
15,
|
2018-02-07 23:20:41 +03:00
|
|
|
3
|
|
|
|
],
|
|
|
|
"end": [
|
2018-03-09 00:01:13 +03:00
|
|
|
15,
|
2018-02-07 23:20:41 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symbol": "foo",
|
|
|
|
"targets": []
|
2018-03-09 00:01:13 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
|
|
|
17,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
17,
|
|
|
|
10
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symbol": "Sin",
|
|
|
|
"targets": [
|
|
|
|
"m"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
|
|
|
18,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
18,
|
|
|
|
13
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symbol": "Sin",
|
|
|
|
"targets": [
|
|
|
|
"Math"
|
|
|
|
]
|
2018-02-07 23:20:41 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|