-
Notifications
You must be signed in to change notification settings - Fork 63
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
Access to html/template functions #3
Comments
Try using Go style function calls:
|
@eknkc 👍 ❤️ Oh god, finally. Thaaaanks so much. Really. Best templating library to date. P.D: You should mention this on the docs. |
Thanks a lot! You are right, there seems to be no mention about function calls on the documentation. Gonna put somthing. |
Also another good addition is that pipelined functions don't work. Example: I don't know if that's intentional or a consequence of the templating engine (char Edit: Typo, pipelined functions instead of filters. |
I've tried to use the printf function but I just get panics:
Are
html/template
builtin functions allowed somehow? If so, how?The text was updated successfully, but these errors were encountered: