Commit Graph

40 Commits

Author SHA1 Message Date
31e99273ca fix templates
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-02 09:29:56 +03:00
c74ea2bc7b fix check
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-02 08:47:52 +03:00
e53b7fb78b store templates with special chars in base64
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-02 08:36:58 +03:00
6883237766 read assets from memory directly
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-02 07:44:06 +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
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
c41132a4f6
chore: switch to golangci-lint 2019-01-20 07:18:16 +01:00
Peter Monko
6949b76e12 fixes intermittent error reporting 2018-10-03 13:31:08 +02:00
Manfred Touron
48265e1947
feat: support escaped paths (#107) 2018-09-13 17:52:52 +02:00
Manfred Touron
c015ff9539
chore: switch to moul.io/protoc-gen-gotemplate 2018-09-13 16:38:39 +02:00
Pat Moroney
4f138c4f92 remove duplicated line 2018-01-12 11:23:17 -07:00
Pat Moroney
decb64ccd8 add new helpers 2018-01-12 10:38:10 -07: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
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
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
Mathieu Acthernoene
add7ae7237 Extract ProtoHelpersFuncMap in its own file 2016-12-15 13:28:57 +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
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
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
Quentin Perez
a4749d98ae
✏️ json tag 2016-12-14 11:04:34 +01:00
Quentin Perez
b4d1f1f9bb
remove kr/fs dependency 2016-12-14 10:33:08 +01:00
Manfred Touron
8958575958
Add filename templating support (fix #5) 2016-11-09 18:39:29 +01:00
Manfred Touron
9222cc15b9
Fix order of arguments in debug 2016-11-09 18:12:00 +01:00
Manfred Touron
136f9b6fba
Add 'pwd' and 'go-pwd' variables 2016-11-07 10:27:57 +01:00
Manfred Touron
84c1d65fd3
Add more meta fields (fix #6) 2016-11-07 09:23:59 +01:00
Manfred Touron
9e79d2b3aa
Add debug 2016-11-07 08:51:13 +01:00
Manfred Touron
83232e17d7
Parse parameters (fix #4) 2016-11-07 08:45:02 +01:00
Manfred Touron
eb7eadc9a3
Use text/template to parse template files 2016-11-06 17:29:37 +01:00
Manfred Touron
39a1644678
Iterate over files in templates dir 2016-11-06 17:20:57 +01:00
Manfred Touron
b934f53b41
Add test 2016-11-05 21:08:57 +01:00
Manfred Touron
1773f1b44d
Initial boilerplate 2016-11-04 21:45:25 +01:00