Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pipes #1

Closed
aminjam opened this issue Feb 17, 2016 · 0 comments
Closed

Add support for pipes #1

aminjam opened this issue Feb 17, 2016 · 0 comments

Comments

@aminjam
Copy link
Owner

aminjam commented Feb 17, 2016

As a user I should be able to pipe the output into a known set of functions

{{.Field | toUpper }}

example list of helper functions are toUpper, toLower, split, join, replace, ...

aminjam pushed a commit that referenced this issue Feb 20, 2016
A/C: A user should be able to use and nest a set of default Pipes when
defining a template.

Notes: this has some breaking changes from 0.1.0. This is necessary
in order to be able to nest multiple pipes and keep the syntax simplicity.

`{{join .List ","}}` -> `{{.List | join ","}}`

Resolves #1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant