c40779224f
Fixes #52
868 lines
14 KiB
JSON
868 lines
14 KiB
JSON
{
|
|
"build-date": "2017-03-31T17:59:35.936239356+02:00",
|
|
"build-hostname": "Valerios-MacBook-Pro.local",
|
|
"build-user": "vgheri",
|
|
"go-pwd": "github.com/moul/protoc-gen-gotemplate/examples/dummy",
|
|
"pwd": "/Users/vgheri/go/src/github.com/moul/protoc-gen-gotemplate/examples/dummy",
|
|
"debug": false,
|
|
"destination-dir": ".",
|
|
"file": {
|
|
"name": "dummy.proto",
|
|
"package": "dummy",
|
|
"message_type": [
|
|
{
|
|
"name": "Dummy1",
|
|
"field": [
|
|
{
|
|
"name": "aaa",
|
|
"number": 1,
|
|
"label": 1,
|
|
"type": 2,
|
|
"json_name": "aaa"
|
|
},
|
|
{
|
|
"name": "bbb",
|
|
"number": 2,
|
|
"label": 1,
|
|
"type": 9,
|
|
"json_name": "bbb"
|
|
},
|
|
{
|
|
"name": "ccc",
|
|
"number": 3,
|
|
"label": 1,
|
|
"type": 5,
|
|
"json_name": "ccc"
|
|
},
|
|
{
|
|
"name": "ddd",
|
|
"number": 4,
|
|
"label": 1,
|
|
"type": 3,
|
|
"json_name": "ddd"
|
|
},
|
|
{
|
|
"name": "eee",
|
|
"number": 5,
|
|
"label": 3,
|
|
"type": 9,
|
|
"json_name": "eee"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Dummy2",
|
|
"field": [
|
|
{
|
|
"name": "fff",
|
|
"number": 1,
|
|
"label": 1,
|
|
"type": 2,
|
|
"json_name": "fff"
|
|
},
|
|
{
|
|
"name": "ggg",
|
|
"number": 2,
|
|
"label": 1,
|
|
"type": 11,
|
|
"type_name": ".dummy.Dummy1",
|
|
"json_name": "ggg"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Dummy3"
|
|
}
|
|
],
|
|
"service": [
|
|
{
|
|
"name": "DummyService",
|
|
"method": [
|
|
{
|
|
"name": "Hhh",
|
|
"input_type": ".dummy.Dummy1",
|
|
"output_type": ".dummy.Dummy2",
|
|
"options": {}
|
|
},
|
|
{
|
|
"name": "Iii",
|
|
"input_type": ".dummy.Dummy2",
|
|
"output_type": ".dummy.Dummy1",
|
|
"options": {}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"source_code_info": {
|
|
"location": [
|
|
{
|
|
"span": [
|
|
0,
|
|
0,
|
|
22,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
12
|
|
],
|
|
"span": [
|
|
0,
|
|
0,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
2
|
|
],
|
|
"span": [
|
|
2,
|
|
8,
|
|
13
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0
|
|
],
|
|
"span": [
|
|
4,
|
|
0,
|
|
10,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
1
|
|
],
|
|
"span": [
|
|
4,
|
|
8,
|
|
14
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
0
|
|
],
|
|
"span": [
|
|
5,
|
|
2,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
0,
|
|
4
|
|
],
|
|
"span": [
|
|
5,
|
|
2,
|
|
4,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
0,
|
|
5
|
|
],
|
|
"span": [
|
|
5,
|
|
2,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
0,
|
|
1
|
|
],
|
|
"span": [
|
|
5,
|
|
8,
|
|
11
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
0,
|
|
3
|
|
],
|
|
"span": [
|
|
5,
|
|
14,
|
|
15
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
1
|
|
],
|
|
"span": [
|
|
6,
|
|
2,
|
|
17
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
1,
|
|
4
|
|
],
|
|
"span": [
|
|
6,
|
|
2,
|
|
5,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
1,
|
|
5
|
|
],
|
|
"span": [
|
|
6,
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
1,
|
|
1
|
|
],
|
|
"span": [
|
|
6,
|
|
9,
|
|
12
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
1,
|
|
3
|
|
],
|
|
"span": [
|
|
6,
|
|
15,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
2
|
|
],
|
|
"span": [
|
|
7,
|
|
2,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
2,
|
|
4
|
|
],
|
|
"span": [
|
|
7,
|
|
2,
|
|
6,
|
|
17
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
2,
|
|
5
|
|
],
|
|
"span": [
|
|
7,
|
|
2,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
2,
|
|
1
|
|
],
|
|
"span": [
|
|
7,
|
|
8,
|
|
11
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
2,
|
|
3
|
|
],
|
|
"span": [
|
|
7,
|
|
14,
|
|
15
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
3
|
|
],
|
|
"span": [
|
|
8,
|
|
2,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
3,
|
|
4
|
|
],
|
|
"span": [
|
|
8,
|
|
2,
|
|
7,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
3,
|
|
5
|
|
],
|
|
"span": [
|
|
8,
|
|
2,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
3,
|
|
1
|
|
],
|
|
"span": [
|
|
8,
|
|
8,
|
|
11
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
3,
|
|
3
|
|
],
|
|
"span": [
|
|
8,
|
|
14,
|
|
15
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
4
|
|
],
|
|
"span": [
|
|
9,
|
|
2,
|
|
26
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
4,
|
|
4
|
|
],
|
|
"span": [
|
|
9,
|
|
2,
|
|
10
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
4,
|
|
5
|
|
],
|
|
"span": [
|
|
9,
|
|
11,
|
|
17
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
4,
|
|
1
|
|
],
|
|
"span": [
|
|
9,
|
|
18,
|
|
21
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
0,
|
|
2,
|
|
4,
|
|
3
|
|
],
|
|
"span": [
|
|
9,
|
|
24,
|
|
25
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1
|
|
],
|
|
"span": [
|
|
12,
|
|
0,
|
|
15,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
1
|
|
],
|
|
"span": [
|
|
12,
|
|
8,
|
|
14
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
2,
|
|
0
|
|
],
|
|
"span": [
|
|
13,
|
|
2,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
2,
|
|
0,
|
|
4
|
|
],
|
|
"span": [
|
|
13,
|
|
2,
|
|
12,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
2,
|
|
0,
|
|
5
|
|
],
|
|
"span": [
|
|
13,
|
|
2,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
2,
|
|
0,
|
|
1
|
|
],
|
|
"span": [
|
|
13,
|
|
8,
|
|
11
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
2,
|
|
0,
|
|
3
|
|
],
|
|
"span": [
|
|
13,
|
|
14,
|
|
15
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
2,
|
|
1
|
|
],
|
|
"span": [
|
|
14,
|
|
2,
|
|
17
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
2,
|
|
1,
|
|
4
|
|
],
|
|
"span": [
|
|
14,
|
|
2,
|
|
13,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
2,
|
|
1,
|
|
6
|
|
],
|
|
"span": [
|
|
14,
|
|
2,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
2,
|
|
1,
|
|
1
|
|
],
|
|
"span": [
|
|
14,
|
|
9,
|
|
12
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
1,
|
|
2,
|
|
1,
|
|
3
|
|
],
|
|
"span": [
|
|
14,
|
|
15,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
2
|
|
],
|
|
"span": [
|
|
17,
|
|
0,
|
|
17
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
4,
|
|
2,
|
|
1
|
|
],
|
|
"span": [
|
|
17,
|
|
8,
|
|
14
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
6,
|
|
0
|
|
],
|
|
"span": [
|
|
19,
|
|
0,
|
|
22,
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
6,
|
|
0,
|
|
1
|
|
],
|
|
"span": [
|
|
19,
|
|
8,
|
|
20
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
6,
|
|
0,
|
|
2,
|
|
0
|
|
],
|
|
"span": [
|
|
20,
|
|
2,
|
|
37
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
6,
|
|
0,
|
|
2,
|
|
0,
|
|
1
|
|
],
|
|
"span": [
|
|
20,
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
6,
|
|
0,
|
|
2,
|
|
0,
|
|
2
|
|
],
|
|
"span": [
|
|
20,
|
|
10,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
6,
|
|
0,
|
|
2,
|
|
0,
|
|
3
|
|
],
|
|
"span": [
|
|
20,
|
|
27,
|
|
33
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
6,
|
|
0,
|
|
2,
|
|
1
|
|
],
|
|
"span": [
|
|
21,
|
|
2,
|
|
37
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
6,
|
|
0,
|
|
2,
|
|
1,
|
|
1
|
|
],
|
|
"span": [
|
|
21,
|
|
6,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
6,
|
|
0,
|
|
2,
|
|
1,
|
|
2
|
|
],
|
|
"span": [
|
|
21,
|
|
10,
|
|
16
|
|
]
|
|
},
|
|
{
|
|
"path": [
|
|
6,
|
|
0,
|
|
2,
|
|
1,
|
|
3
|
|
],
|
|
"span": [
|
|
21,
|
|
27,
|
|
33
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"syntax": "proto3"
|
|
},
|
|
"raw-filename": "export.json.tmpl",
|
|
"filename": "export.json.tmpl",
|
|
"template-dir": "templates",
|
|
"service": {
|
|
"name": "DummyService",
|
|
"method": [
|
|
{
|
|
"name": "Hhh",
|
|
"input_type": ".dummy.Dummy1",
|
|
"output_type": ".dummy.Dummy2",
|
|
"options": {}
|
|
},
|
|
{
|
|
"name": "Iii",
|
|
"input_type": ".dummy.Dummy2",
|
|
"output_type": ".dummy.Dummy1",
|
|
"options": {}
|
|
}
|
|
]
|
|
},
|
|
"environment": [
|
|
"TERM_PROGRAM=platformio-ide-terminal",
|
|
"TERM=xterm-256color",
|
|
"SHELL=/bin/bash",
|
|
"MAKEFLAGS=",
|
|
"TMPDIR=/var/folders/9v/4b6h7ftd5ldfqv7gr82mbj340000gn/T/",
|
|
"Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.Zt6NPL5gZZ/Render",
|
|
"USER=vgheri",
|
|
"SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.UvxCW75B4v/Listeners",
|
|
"__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0",
|
|
"MAKELEVEL=2",
|
|
"MFLAGS=",
|
|
"PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:/usr/local/go/bin:/usr/local/protoc/bin:/Users/vgheri/go/bin:/usr/local/protoc/bin:/Users/vgheri/go/bin",
|
|
"_=/usr/local/protoc/bin/protoc",
|
|
"PWD=/Users/vgheri/go/src/github.com/moul/protoc-gen-gotemplate/examples/dummy",
|
|
"LANG=en_US.UTF-8",
|
|
"XPC_FLAGS=0x0",
|
|
"XPC_SERVICE_NAME=0",
|
|
"HISTCONTROL=ignoreboth:erasedups",
|
|
"SHLVL=15",
|
|
"HOME=/Users/vgheri",
|
|
"LOGNAME=vgheri",
|
|
"GOPATH=/Users/vgheri/go"
|
|
]
|
|
} |