Built-in "html / template" or "mustache" which should I use?

I am new to golang and want to use it to build a web application.

I found that it has a built-in html / template that can display an html template with the specified data, as well as a mustache port that seems nice.

I'm not sure which one I will use. Please give me some tips or comparisons between them so I can decide, thanks.

+5
source share
2 answers

I prefer to use html / template because it is part of the Go library and by its simple construction.

In the following web application, you can see how effective it is:

https://bitbucket.org/jzs/sketchground/src

+5
+2

All Articles