1
0
Fork 0
mirror of https://github.com/Luzifer/korvike.git synced 2024-11-08 23:40:05 +00:00
Commit graph

5 commits

Author SHA1 Message Date
e8a8b2f83f
Breaking: Add sprig functions, replace some internal ones
Breaking changes:

- Remove function `b64decode`, use `b64dec`
- Remove function `b64encode`, use `b64enc`
- Remove default from `env`, use `env "MYVAR" | default "..."`
- Remove function `hash`, use `sha1sum` / `sha256sum` / `sha512sum`
- Function `now` returns `time.Time`, use `now | date "[format]"`
- Function `split` now has reversed parameters `split <sep> <str>`

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2024-02-28 23:54:18 +01:00
047d4406ad
Add support for b64decode
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-08-30 15:55:52 +02:00
4083ee0cc2
Add "hash" template function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-04-11 23:50:59 +02:00
5a833fa112
Add support for executing sub-templates
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-03-22 16:22:23 +01:00
63d5a27b80
Add 'now' function and function tests
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-04-17 16:25:59 +02:00