66 Commits

Author SHA1 Message Date
Manfred Touron
36f4177b68
chore: lint 2019-01-19 20:01:03 +01:00
Manfred Touron
48265e1947
feat: support escaped paths (#107) 2018-09-13 17:52:52 +02:00
Manfred Touron
8b191e85f2
chore: switch to go modules 2018-09-13 16:47:21 +02:00
Manfred Touron
c015ff9539
chore: switch to moul.io/protoc-gen-gotemplate 2018-09-13 16:38:39 +02:00
jhayotte
4b9116a5dd feat: add goTypeWithGoPackage
This function allows you to prefix your field of type message with what
you defined in the option go_package.

Moreover it handles message embedded.

In this commit, I rename gometalinter gas option in gosec.
2018-08-09 10:28:26 +02:00
Tommy PAGEARD
19fb3c8da9 Add arithmetics helpers - fix #94 2018-03-21 15:03:26 +01:00
Thomas KERAMBLOCH
3f1d5001d9 Add Helper 'index': get elem of array with the index 2018-02-10 18:00:39 +01:00
Manfred Touron
5da3d00df2 Add a new 'helpers' example 2017-12-19 15:55:33 +01:00
jhayotte
d0c5bb5a97 handle google.protobuf.timestamp 2017-06-08 16:40:52 +02:00
Manfred Touron
09adcbdcd9
Make urlHasVarsFromMessage consistent with getMessageType 2017-05-19 20:10:20 +02:00
Manfred Touron
4e25b6e83a
Improve imports support (imports lookup)
* Add `--single-package-mode option`
    * Add `getMessageType` helper
    * Add `getProtoFile` helper
    * Add `examples/single-package-mode` example
2017-05-19 09:33:03 +02:00
jhayotte
e1486970f7 add helper getEnumValue 2017-05-12 20:48:34 +02:00
Manfred Touron
47ef416835
Remove Environment as we already have env and expandenv filters from sprig 2017-05-02 11:50:37 +02:00
jhayotte
91ebb6e521 handle statement import of proto file 2017-05-02 11:12:26 +02:00
Manfred Touron
a68198f386
Add go:generate example (#56) 2017-04-24 09:20:30 +02:00
Valerio Gheri
c40779224f Moved to google.golang.org/genproto/googleapis/api/annotations
Fixes #52
2017-03-31 18:01:58 +02:00
Manfred Touron
024c5a4e4e Add sitemap (non-code) example 2017-03-16 17:47:54 +01:00
Manfred Touron
9da682760b Fix Go-Kit test (#25) 2017-03-16 17:20:57 +01:00
Manfred Touron
97cfa60fc8 Enable all tests (fix #25) 2017-03-16 16:15:34 +01:00
gfanton
fee245f5d4 Add concat example 2017-01-17 16:13:19 +01:00
Mathieu Acthernoene
4149bd5c25 Support List / Message types 2017-01-11 16:33:03 +01:00
Mathieu Acthernoene
0ce8ebe54b Basic getter & setter support 2017-01-11 15:39:51 +01:00
Mathieu Acthernoene
b3b9aec439 Update example, remove strict types 2017-01-11 15:20:01 +01:00
Mathieu Acthernoene
47277242ae Array<number> -> Uint8Array 2017-01-11 14:52:00 +01:00
Mathieu Acthernoene
738a68fd4c Add type namespaces 2017-01-10 12:24:06 +01:00
Mathieu Acthernoene
dc8e191077 Add nested message usage example 2017-01-10 11:43:26 +01:00
Mathieu Acthernoene
acbd1bf87b Plain support of Nested Enums 2017-01-10 11:40:48 +01:00
Mathieu Acthernoene
66e9d20e1f Basic support for nested Enums / Messages 2017-01-10 11:22:18 +01:00
Mathieu Acthernoene
37d97c5693 Export types 2017-01-06 11:41:42 +01:00
Mathieu Acthernoene
ab2a5d5181 Rename js-grpc folder, add enums to example file 2017-01-06 11:38:48 +01:00
Mathieu Acthernoene
af1ed8a2fb Don't export types 2017-01-05 18:26:35 +01:00
Mathieu Acthernoene
54eb016142 Update example template 2017-01-05 18:06:24 +01:00
Mathieu Acthernoene
2c01e8b298 Delete js example 2017-01-05 18:03:52 +01:00
Manfred Touron
877e93aa7c
Go-kit example: support services without unary calls 2016-12-26 16:20:46 +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
718f9120e4
Handle streams 2016-12-23 19:20:44 +01:00
Manfred Touron
88a2f47522
Better reliability on generated message names 2016-12-21 10:32:27 +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
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
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
ae44a872b3
Update examp;le 2016-12-15 11:06:42 +01:00
Guilhem Fanton
2ae75f6702 Add js-grpc template (#20) 2016-12-13 19:10:02 +01:00
Sacha Froment
6c946d62eb Add k8s example (#19) 2016-12-13 19:09:29 +01:00
Manfred Touron
c83a19d80c
Remove user.logout method 2016-12-13 17:32:32 +01:00