Update readme
This commit is contained in:
parent
ae44a872b3
commit
1bbb1dfb26
18
README.md
18
README.md
@ -40,25 +40,17 @@ See [examples](./examples).
|
|||||||
|
|
||||||
## Funcmap
|
## Funcmap
|
||||||
|
|
||||||
This project uses [moul/funcmap](https://github.com/moul/funcmap) library to extend the builtin [text/template](https://golang.org/pkg/text/template) helpers.
|
This project uses [Masterminds/sprig](https://github.com/Masterminds/sprig) library and additional functions to extend the builtin [text/template](https://golang.org/pkg/text/template) helpers.
|
||||||
|
|
||||||
Non-exhaustive list of new helpers:
|
Non-exhaustive list of new helpers:
|
||||||
|
|
||||||
|
* **all the functions of [sprig](https://github.com/Masterminds/sprig)**
|
||||||
* `json`
|
* `json`
|
||||||
* `prettyjson`
|
* `prettyjson`
|
||||||
* `indent`
|
* `first`
|
||||||
* `split`
|
* `last`
|
||||||
* `join`
|
|
||||||
* `title`
|
|
||||||
* `unexport`
|
|
||||||
* `add`
|
|
||||||
* `trimspace`
|
|
||||||
* `lower`
|
|
||||||
* `upper`
|
|
||||||
* `rev`
|
|
||||||
* `int`
|
|
||||||
|
|
||||||
See the project for the complete list.
|
See the project helpers for the complete list.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user