protoc-gen-go-micro/examples/dummy/output/export.json

881 lines
14 KiB
JSON
Raw Normal View History

2016-11-07 11:23:59 +03:00
{
2016-12-20 13:31:46 +03:00
"build-date": "2016-12-20T11:30:36.474403064+01:00",
"build-hostname": "Zoon-MacBook.local",
"build-user": "zoon",
"go-pwd": "github.com/protoc-gen-gotemplate/examples/dummy",
"pwd": "/Users/zoon/Projects/gopath/src/github.com/protoc-gen-gotemplate/examples/dummy",
2016-11-07 11:23:59 +03:00
"debug": false,
2016-12-20 13:31:46 +03:00
"destination-dir": ".",
2016-11-07 11:23:59 +03:00
"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",
2016-11-07 11:23:59 +03:00
"filename": "export.json.tmpl",
2016-12-15 13:06:42 +03:00
"template-dir": "templates",
2016-11-07 11:23:59 +03:00
"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": {}
}
]
2016-12-15 13:06:42 +03:00
},
"environment": [
2016-12-20 13:31:46 +03:00
"TERM_PROGRAM=iTerm.app",
"ANDROID_HOME=/usr/local/opt/android-sdk",
2016-12-15 13:06:42 +03:00
"TERM=xterm-256color",
"SHELL=/bin/zsh",
2016-12-20 13:31:46 +03:00
"MAKEFLAGS=",
"TMPDIR=/var/folders/sq/wlptrlpn4v52xv7xpsgw0fc80000gn/T/",
"Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.q9vxeee00S/Render",
"TERM_PROGRAM_VERSION=3.0.12",
"TERM_SESSION_ID=w0t0p0:6D29EB08-1B96-41B8-8672-0B035605AEE5",
"ZSH=/Users/zoon/.oh-my-zsh",
"USER=zoon",
"SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.5ZcNGIwTRZ/Listeners",
"__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0",
"MAKELEVEL=2",
"PAGER=less",
"MFLAGS=",
"LSCOLORS=Gxfxcxdxbxegedabagacad",
"PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/zoon/Projects/gopath/bin",
"_=/usr/local/bin/protoc",
"PWD=/Users/zoon/Projects/gopath/src/github.com/protoc-gen-gotemplate/examples/dummy",
"JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home",
"EDITOR=micro",
2016-12-15 13:06:42 +03:00
"LANG=en_US.UTF-8",
2016-12-20 13:31:46 +03:00
"ANDROID_SDK=/usr/local/opt/android-sdk",
"ITERM_PROFILE=Default",
"XPC_FLAGS=0x0",
"XPC_SERVICE_NAME=0",
"COLORFGBG=15;0",
"SHLVL=3",
"HOME=/Users/zoon",
"ITERM_SESSION_ID=w0t0p0:6D29EB08-1B96-41B8-8672-0B035605AEE5",
"LESS=-R",
"LOGNAME=zoon",
"LC_CTYPE=UTF-8",
"GOPATH=/Users/zoon/Projects/gopath"
2016-12-15 13:06:42 +03:00
]
2016-12-20 13:31:46 +03:00
}