1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
semantic/test/fixtures/go/import-graph/main.json

92 lines
1.5 KiB
JSON
Raw Normal View History

{
"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"
},
{
"span": {
"start": [
11,
1
],
"end": [
13,
2
]
},
"kind": "Function",
2018-03-03 02:30:51 +03:00
"name": "main",
"module": "app"
}
],
"paths": [
"test/fixtures/go/import-graph/main.go"
],
"calls": [
{
"span": {
"start": [
12,
3
],
"end": [
12,
8
]
},
"symbol": "foo",
"targets": []
}
]
}
}
}