Mike Lee
1d71729a7c
add parameter file-mode for templates that wish to parse at a file level instead of each service
2019-03-29 13:35:55 -04:00
Manfred Touron
c6eca2356c
Merge pull request #142 from moul/dev/moul/rebase-85
...
Introducing two new helpers, one for returning in templates go_packag…
2019-02-10 22:00:41 +01:00
Manfred Touron
3576fd314a
Merge pull request #141 from moul/dev/moul/fix-int64-extension
...
fix: fix 'int64*Extension' helpers
2019-02-10 21:41:51 +01:00
webii
f43d2a2ac8
Introducing two new helpers, one for returning in templates go_package path, and second one giving only last element of go_package namespace
2019-02-10 21:41:03 +01:00
Manfred Touron
baffaa4b6a
Merge pull request #127 from piotrekmonko/fix_intermittent_errors
...
fixes intermittent error reporting
2019-02-10 21:37:31 +01:00
Manfred Touron
db5e9b7f99
fix: fix 'int64*Extension' helpers
2019-02-10 19:55:05 +01:00
Manfred Touron
be3a88a34a
Merge pull request #140 from moul/dev/moul/message-options
...
feat: add message option helpers
2019-02-08 19:12:27 +01:00
Manfred Touron
bd48cf6168
feat: add message option helpers
2019-02-08 19:07:56 +01:00
Manfred Touron
7110803a05
Merge pull request #139 from moul/dev/moul/int64FieldExtension
...
feat: add int64FieldExtension helper
v1.7.0
2019-01-20 07:21:16 +01:00
Manfred Touron
c41132a4f6
chore: switch to golangci-lint
2019-01-20 07:18:16 +01:00
Manfred Touron
36f4177b68
chore: lint
2019-01-19 20:01:03 +01:00
Manfred Touron
1ff20846eb
feat: add int64FieldExtension helper
2019-01-18 19:41:46 +01:00
Manfred Touron
5202ea7a53
chore: group renovate bump PRs into one
2019-01-09 16:37:05 +01:00
Peter Monko
6949b76e12
fixes intermittent error reporting
2018-10-03 13:31:08 +02:00
Manfred Touron
0a47157c26
Merge pull request #109 from moul/dev/moul/escaped-paths
...
feat: support escaped paths (#107 )
2018-09-13 17:57:54 +02:00
Manfred Touron
48265e1947
feat: support escaped paths ( #107 )
v1.6.0
2018-09-13 17:52:52 +02:00
Manfred Touron
5ab09755c8
Merge pull request #108 from moul/dev/moul/canonical-url
...
configure modules + switch to canonical URL
2018-09-13 16:52:01 +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
Manfred Touron
ac2e25e74f
Merge pull request #105 from moul/fix/gfanton/store-concurrency
...
fix(store): Fix store concurrency
2018-09-12 20:13:57 +02:00
Manfred Touron
7d8c6c4b19
Merge pull request #103 from moul/renovate/configure
...
Configure Renovate
2018-09-12 20:13:39 +02:00
Renovate Bot
8ec535ac58
Add renovate.json
2018-08-28 16:31:46 +00:00
Manfred Touron
ca3f353d44
Merge pull request #106 from sfroment/dev/sfroment/update-protoc
...
Update the znly/protoc image
2018-08-28 18:26:05 +02:00
Sacha Froment
9b14e8fb8a
fix: update to the latest image
...
Signed-off-by: Sacha Froment <sfroment42@gmail.com>
2018-08-28 17:11:38 +02:00
Guilhem Fanton
5b8733f8ec
fix(store): Fix store concurrency
2018-08-23 18:49:20 +02:00
Manfred Touron
90a63053d4
Merge pull request #104 from moul/dev/gfanton/add-bool-method-option
...
feat(options): Add bool method option
2018-08-20 17:55:15 +02:00
Guilhem Fanton
8a8c54b5b4
chore(store): Dont panic on get store
2018-08-20 17:41:58 +02:00
Guilhem Fanton
9938cbdf5a
feat(option): Add bool method option
2018-08-20 17:41:36 +02:00
Manfred Touron
0fe0e49401
chore: set git remote to GitHub https URL
2018-08-14 00:56:16 +02:00
Julien Hayotte
5b056b2579
Merge pull request #102 from jhayotte/MessageEmbedded
...
feat: add goTypeWithGoPackage
2018-08-09 10:40:48 +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
Manfred Touron
6abbdf4cfb
Merge pull request #96 from moul/helpers/gfanton/add-store-helper
...
Add Concat/Join/Store helpers
2018-04-07 19:42:21 +02:00
Guilhem Fanton
adb58bd940
Add concat & Join helper methods
2018-04-06 17:18:38 +02:00
Julien Hayotte
283713bd93
Merge pull request #95 from Tommy-42/master
...
Add arithmetics helpers - fix #94
2018-03-21 17:29:47 +01:00
Tommy PAGEARD
19fb3c8da9
Add arithmetics helpers - fix #94
2018-03-21 15:03:26 +01:00
Manfred Touron
77a820ea6f
Merge pull request #93 from sumup/feature/stringMethodOptionsExtension
...
Add stringMethodOptionsExtension
2018-02-27 11:02:53 +01:00
Jan Weitz
6765ff04eb
Add stringMethodOptionsExtension
...
This helper function can be used on service methods
to read options, which extend method options by a string.
e.g.
It is possible to read "Some string" for a custom
`my_method_option.bar` message option extension.
See:
https://developers.google.com/protocol-buffers/docs/proto#customoptions
on how to define a custom extension and referencing is by a fieldID.
```
service MyService {
rpc MyMethod(RequestType) returns(ResponseType) {
option (my_method_option.bar) = "Some string";
}
}
```
If `my_method_option.bar` was defined for `fieldID: 50000`
one can reference it using protoc-gen-template like:
```
{{- stringMethodOptionsExtension 50000 .method }}
```
2018-02-23 16:55:45 +01:00
Alexandre Beslic
bb3105a862
Merge pull request #91 from tkerambloch/dev/tkerambloch/getHttpPathInAdditionalBindings
...
Helper: add helper like httpPath for get path in additional bindings options
2018-02-13 17:34:22 +01:00
Thomas KERAMBLOCH
0c29a9922f
add helper like httpPath for get path in additional bindings options
2018-02-13 16:00:04 +01:00
Alexandre Beslic
aff21c1e7c
Merge pull request #90 from tkerambloch/dev/tkerambloch/helperGetIndexArray
...
fix type int32 in index helper
2018-02-12 17:03:31 +01:00
Thomas KERAMBLOCH
15ac366c8d
fix type int32 in index helper
2018-02-12 16:48:36 +01:00
Alexandre Beslic
5a9555bcf5
Merge pull request #89 from tkerambloch/dev/tkerambloch/helperGetIndexArray
...
Add Helper 'index': get elem of array with the index
2018-02-10 18:43:45 +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
be5f14041f
Merge pull request #83 from pmoroney/new-helpers
...
add new helpers
2018-01-12 23:25:50 +01:00
Pat Moroney
100279cd16
add comment about tree traversal
2018-01-12 11:36:29 -07:00
Pat Moroney
4f138c4f92
remove duplicated line
2018-01-12 11:23:17 -07:00
Pat Moroney
78cb5588b1
make nilString constant
2018-01-12 11:12:15 -07:00
Pat Moroney
0b600dd93f
rename fieldId to fieldID
2018-01-12 10:56:25 -07:00
Pat Moroney
decb64ccd8
add new helpers
2018-01-12 10:38:10 -07:00
Manfred Touron
7e17e4319f
Merge pull request #82 from moul/dev/moul/lint
...
Setup gometalinter + fix lint
v1.5.0
2017-12-28 15:38:19 +01:00