Support for other template engines
Any plans on adding support for other template engines like Mustache (https://github.com/hoisie/mustache) or Amber (https://github.com/eknkc/amber)?
I haven't considered this yet. It might be worthwhile to look into.
in the least part it would be cool to have a separate middleware that brings in one of these other template engines and supports the render.Render interface
Something similar to the Ruby library Tilt would be really nice to have in Go.
I’ll see if I can figure something out since I’d like a convenient way to use the Gold template engine with Martini.
Hi, I'm an author of Gold which is a template engine for Go.
@peterhellberg Thanks for thinking of using Gold!
@codegangsta I created RenderGold which is a Martini middleware/handler for parsing Gold templates and rendering HTML. This middleware supports the render.Render interface. I would be glad if you could add this package on the martini-contrib organization. (If you allow me to join the martini-contrib organization, I will add RenderGold on the organization.)
Thanks.
Yup. This would be a good martini-contrib package! I'm a bit busy currently but I will fire up the repo when I get the chance :)
Sent from my iPhone
On May 7, 2014, at 5:23 AM, Keiji Yoshida [email protected] wrote:
Hi, I'm a creator of Gold which is a template engine for Go.
@peterhellberg Thanks for thinking of using Gold!
@codegangsta I created RenderGold which is a Martini middleware/handler for parsing Gold templates and rendering HTML. This middleware supports the render.Render interface. I would be glad if you could add this package on the martini-contrib organization. (If you allow me to join the martini-contrib organization, I will add RenderGold on the organization.)
Thanks.
— Reply to this email directly or view it on GitHub.
@codegangsta Thanks for your reply! Looking forward to seeing that this package will be a member of the martini-contrib packages!