2018-02-07 23:20:41 +03:00
|
|
|
{
|
|
|
|
"modules": {
|
|
|
|
"app": {
|
|
|
|
"imports": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
|
|
|
3,
|
|
|
|
8
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
3,
|
|
|
|
12
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"path": "os",
|
|
|
|
"symbols": [],
|
|
|
|
"alias": "os"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
|
|
|
6,
|
|
|
|
2
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
6,
|
|
|
|
12
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"path": "net/http",
|
|
|
|
"symbols": [],
|
|
|
|
"alias": "http"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"name": "app",
|
|
|
|
"language": "Go",
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"start": [
|
|
|
|
9,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
9,
|
|
|
|
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": [
|
|
|
|
11,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
13,
|
|
|
|
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": [
|
|
|
|
12,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
12,
|
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"symbol": "foo",
|
|
|
|
"targets": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|