render icon indicating copy to clipboard operation
render copied to clipboard

Support for other template engines

Open fbjork opened this issue 11 years ago • 6 comments

Any plans on adding support for other template engines like Mustache (https://github.com/hoisie/mustache) or Amber (https://github.com/eknkc/amber)?

fbjork avatar Feb 23 '14 06:02 fbjork

I haven't considered this yet. It might be worthwhile to look into.

codegangsta avatar Mar 04 '14 01:03 codegangsta

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

codegangsta avatar Mar 04 '14 01:03 codegangsta

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.

peterhellberg avatar Mar 29 '14 15:03 peterhellberg

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.

yosssi avatar May 07 '14 12:05 yosssi

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 avatar May 07 '14 14:05 codegangsta

@codegangsta Thanks for your reply! Looking forward to seeing that this package will be a member of the martini-contrib packages!

yosssi avatar May 07 '14 14:05 yosssi