Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-07 | tpl: Extend Jsonify to support options map | Cameron Moore | |
Add support for prefix and indent options used by json.MarshalIndent from the Go stdlib. | |||
2020-04-07 | tpl: Extend Jsonify to support optional indent parameter | Cameron Moore | |
Fixes #5040 | |||
2019-08-12 | tests: Convert from testify to quicktest | Bjørn Erik Pedersen | |
2018-11-02 | Revert "tpl: Update Jsonify to return pretty-print output" | Bjørn Erik Pedersen | |
This reverts commit 5a52cd5f920bb3d067ab1682adece9f813c67ba1. Closes #5394 | |||
2018-10-21 | tpl: Update Jsonify to return pretty-print output | Sean Prashad | |
Fixes #5040 | |||
2017-05-01 | tpl: Fix the remaining template funcs namespace issues | Bjørn Erik Pedersen | |
See #3042 | |||
2017-04-30 | tpl: Add template function namespaces | Cameron Moore | |
This commit moves almost all of the template functions into separate packages under tpl/ and adds a namespace framework. All changes should be backward compatible for end users, as all existing function names in the template funcMap are left intact. Seq and DoArithmatic have been moved out of the helpers package and into template namespaces. Most of the tests involved have been refactored, and many new tests have been written. There's still work to do, but this is a big improvement. I got a little overzealous and added some new functions along the way: - strings.Contains - strings.ContainsAny - strings.HasSuffix - strings.TrimPrefix - strings.TrimSuffix Documentation is forthcoming. Fixes #3042 |