mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
![]() According to the facil.io docs (http://facil.io/0.7.x/fiobj_mustache#fiobj_mustache_new): > By setting the filename argument even when the data argument exists, > it will allow path resolution for partial templates. Otherwise, there > is no way to know where to find the partial templates. This will allow partial templates to work. However, this also introduces a breaking change to the existing MustacheNew function. This change makes it mirror the C version where it accepts a MustacheLoadArgs struct instead of just the data. That's also a handy method to have, so I renamed that to MustacheData...maybe there's a better name? |
||
---|---|---|
.. | ||
bindataformpost | ||
cookies | ||
endpoint | ||
endpoint_auth | ||
hello | ||
hello2 | ||
hello_json | ||
http_params | ||
middleware | ||
middleware_with_endpoint | ||
mustache | ||
routes | ||
senderror | ||
sendfile | ||
serve | ||
userpass_session_auth | ||
websockets |