Built-in "html/template" or "mustache", which one shall I use?

10,156

I prefer html/template. Its simple to use. The codewalk here http://golang.org/doc/articles/wiki/ can be a start.

Share:
10,156
Freewind
Author by

Freewind

A programmer ([email protected])

Updated on June 09, 2022

Comments

  • Freewind
    Freewind almost 2 years

    I'm new to golang, and want to use it to build a web app.

    I found it has built-in html/template, which can render html template with specified data, and there is also a mustache port which seems good.

    I'm not sure which one shall I use. Please give me some advices or comparations between them to let me decide, thank you.