Commit Graph

19 Commits

Author SHA1 Message Date
9954ab8133 fixup templates
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-10 03:33:10 +03:00
e534860a0a always format files
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-09 19:44:21 +03:00
c27cf5982d partially rewrite for own needs
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-08 22:22:43 +03:00
9b2c559015 add ability to use repo templates
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-12-31 04:10:22 +03:00
Mike Lee
e4d1fef8fe fmt 2019-03-29 19:24:47 -04:00
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
c41132a4f6
chore: switch to golangci-lint 2019-01-20 07:18:16 +01:00
Manfred Touron
c015ff9539
chore: switch to moul.io/protoc-gen-gotemplate 2018-09-13 16:38:39 +02:00
Manfred Touron
c64e1d8ed6 Setup gometalinter + fix lint 2017-12-28 15:34:09 +01:00
Manfred Touron
31a84ee58f
Isolate helpers in their own package (#63) 2017-05-19 10:02:40 +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
gfanton
99d310ac79 Concatenate if file already exist 2017-01-17 12:20:16 +01:00
gfanton
0d32837e5d Remove useless dependencies 2017-01-12 15:14:36 +01:00
gfanton
72880bafe5 Add all arguments 2017-01-12 14:46:43 +01:00
Manfred Touron
f9e191c6a4
Add templateDir variable 2016-12-15 16:25:46 +01:00
Quentin Perez
ba1f64a731
don't print error when debug=false 2016-12-14 11:08:51 +01:00
Manfred Touron
83232e17d7
Parse parameters (fix #4) 2016-11-07 08:45:02 +01:00
Manfred Touron
39a1644678
Iterate over files in templates dir 2016-11-06 17:20:57 +01:00
Manfred Touron
1773f1b44d
Initial boilerplate 2016-11-04 21:45:25 +01:00