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

Convert default funcs into jet.Funcs #33

Open
annismckenzie opened this issue Aug 26, 2016 · 0 comments
Open

Convert default funcs into jet.Funcs #33

annismckenzie opened this issue Aug 26, 2016 · 0 comments

Comments

@annismckenzie
Copy link
Member

This is specifically targeted towards the strings.Replace default func that takes an integer as the last argument to indicate the maximum number of replacements that should happen. For one, this looks weird in a template and we can also default this to -1 to indicate an unlimited number of replacements. This is easily done using jet.Funcs.

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