The Go text/template and html/template are widely used and well-documented, but a tour would provide a better way of teaching the template language, starting from the basics and moving on to more advanced features. I'd also like to see non-HTML uses of text/template called out, such as generating markdown or complex SQL queries.
The Go text/template and html/template are widely used and well-documented, but a tour would provide a better way of teaching the template language, starting from the basics and moving on to more advanced features. I'd also like to see non-HTML uses of text/template called out, such as generating markdown or complex SQL queries.