martini-contrib / render

Martini middleware/handler for easily rendering serialized JSON, XML, and HTML template responses.
MIT License
245 stars 57 forks source link

Support for other template engines #8

Open fbjork opened 10 years ago

fbjork commented 10 years ago

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

codegangsta commented 10 years ago

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

codegangsta commented 10 years ago

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

peterhellberg commented 10 years ago

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.

yosssi commented 10 years ago

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.

codegangsta commented 10 years ago

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 notifications@github.com 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.

yosssi commented 10 years ago

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