147 Commits

Author SHA1 Message Date
Valerio Gheri
f78470553b Adds helper to know if a field is a repeated one. Closes #32 2016-12-26 12:13:04 +01:00
Manfred Touron
c26d72d1ad Merge pull request #31 from moul/dev/moul/gokit-grpcclient
Add basic go-kit gRPC client
2016-12-25 22:43:58 +01:00
Manfred Touron
91e9114c24
Regenerate boilerplate 2016-12-25 19:55:34 +01:00
Manfred Touron
f5d97d64c7
Add go-kit client 2016-12-25 19:50:30 +01:00
Manfred Touron
4c53f8ebdd Merge pull request #30 from moul/dev/moul/handle-streams
Go-kit example: Handle streams
2016-12-24 11:00:56 +01:00
Manfred Touron
718f9120e4
Handle streams 2016-12-23 19:20:44 +01:00
Manfred Touron
f4f2300417 Merge pull request #29 from proullon/dev/proullon/http
feat (helper): handle google.api.http option with httpVerb and httpPath
2016-12-23 00:06:32 +01:00
Pierre Roullon
c7d0a86fec feat (helper): handle google.api.http option with httpVerb and httpPath 2016-12-22 22:42:32 +00:00
Manfred Touron
453376e811 Merge pull request #28 from proullon/dev/proullon/fix
fix (helper): fix isFieldMessage
2016-12-21 16:05:35 +01:00
Pierre Roullon
49d31f1636 fix (helper): fix isFieldMessage 2016-12-21 14:54:48 +00:00
Manfred Touron
7d8a132834 Merge pull request #27 from moul/fix-travis
Fix travis
2016-12-21 10:50:17 +01:00
Manfred Touron
e8332ed718
Fix travis 2016-12-21 10:48:00 +01:00
Manfred Touron
e4160940c1 Merge pull request #26 from proullon/dev/proullon/messagetype
feat (helper): add field reflection helpers getMessageType and isFieldMessage
2016-12-21 10:45:00 +01:00
Manfred Touron
88a2f47522
Better reliability on generated message names 2016-12-21 10:32:27 +01:00
Pierre Roullon
5dd30f38f3 feat (helper): add field reflection helpers getMessageType and isFieldMessage 2016-12-21 09:26:26 +00:00
Manfred Touron
d0ac6afb18
Bump deps 2016-12-21 10:25:12 +01:00
Manfred Touron
15db6dce00 Add docker helpers in Makefile 2016-12-20 13:36:25 +01:00
Manfred Touron
19ea337fa6 Merge pull request #24 from zoontek/js-example
JS-grpc generation
2016-12-20 11:45:35 +01:00
Mathieu Acthernoene
536162a58b Rewrite simple test (only grpc output) 2016-12-20 11:31:46 +01:00
Mathieu Acthernoene
304fba375b helloworld_js generation complete 2016-12-19 15:43:38 +01:00
Mathieu Acthernoene
5c6941cf87 Replace user example by helloworld example, cleanup 2016-12-19 15:21:28 +01:00
Manfred Touron
2195db0de2 Update README.md 2016-12-17 21:44:04 +01:00
Mathieu Acthernoene
eec84d5d96 Remove hardcoded exports 2016-12-16 16:39:31 +01:00
Mathieu Acthernoene
d38fbfccf0 Remove unsupported imports 2016-12-16 16:24:05 +01:00
Mathieu Acthernoene
abbd30d34c Working js grpc generation (same as official output) 2016-12-16 16:08:37 +01:00
Manfred Touron
5b8c9e93dc Update README.md 2016-12-15 17:49:18 +01:00
Manfred Touron
9cde3288ea Add moul/translator reference 2016-12-15 17:47:14 +01:00
Manfred Touron
d3abcca373
Regenerate go-kit example with new encoder 2016-12-15 16:30:14 +01:00
Manfred Touron
df709b52ac
Refactor the go-kit templates to make imports generic 2016-12-15 16:28:04 +01:00
Manfred Touron
f9e191c6a4
Add templateDir variable 2016-12-15 16:25:46 +01:00
Manfred Touron
8e2be0f866 Merge pull request #23 from zoontek/update-readme
Update readme
2016-12-15 13:56:23 +01:00
Manfred Touron
869e37e163
Bump sprig@latest 2016-12-15 13:43:43 +01:00
Mathieu Acthernoene
5489e68995 typo 2016-12-15 13:41:32 +01:00
Mathieu Acthernoene
1bbb1dfb26 Update readme 2016-12-15 13:40:39 +01:00
Manfred Touron
6beb5868e8 Merge pull request #22 from zoontek/replace-funcmap
Replace funcmap
2016-12-15 13:31:47 +01:00
Mathieu Acthernoene
da88fbcbd7 use interfaces instead of strings 2016-12-15 13:31:16 +01:00
Mathieu Acthernoene
add7ae7237 Extract ProtoHelpersFuncMap in its own file 2016-12-15 13:28:57 +01:00
Mathieu Acthernoene
d7c3d1a32b Merge pull request #1 from QuentinPerez/fix-race
🐛 fix race condition on ProtoHelpersFuncMap
2016-12-15 13:18:21 +01:00
Quentin Perez
8b7fa40e87
🐛 fix race condition on ProtoHelpersFuncMap 2016-12-15 12:34:56 +01:00
Mathieu Acthernoene
2ab581a1d6 Add first & last helpers 2016-12-15 12:22:23 +01:00
Mathieu Acthernoene
3b5a2eeafe Add JSON utilities back 2016-12-15 12:14:47 +01:00
Mathieu Acthernoene
e48d798d89 Merge custom Funcmap with sprig 2016-12-15 12:08:00 +01:00
Mathieu Acthernoene
f48fe29ebf Replace funcmap dep with sprig 2016-12-15 12:03:02 +01:00
Manfred Touron
ae44a872b3
Update examp;le 2016-12-15 11:06:42 +01:00
Manfred Touron
7907fb79d9
Expose environment 2016-12-15 11:01:29 +01:00
Manfred Touron
407790640d
Expose TemplateDir in the AST 2016-12-15 10:59:48 +01:00
Manfred Touron
14d2af18a7 Merge pull request #21 from QuentinPerez/patch-1
a little contribution
2016-12-15 01:29:38 +01:00
Quentin Perez
ba1f64a731
don't print error when debug=false 2016-12-14 11:08:51 +01:00
Quentin Perez
aa9a474262
generate tmpl in parallel 2016-12-14 11:07:05 +01:00
Quentin Perez
1afdd936da
🔨 rework genAst 2016-12-14 11:06:24 +01:00