1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
semantic/test/fixtures/go/import-graph/main.json

90 lines
1.5 KiB
JSON

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