text – articles by tag

04/09/2020

GO templates

Packages text/template, html/template are part of GO standard library. GO templates are used in many GO-programmed software — docker, kubernetes, helm. Many 3rd party libraries are integrated with GO templates, for example echo. Knowing GO templates syntax is pretty useful. This article consists of text/template package documentation and couple of author's solutions. After describing GO templates syntax we'll dive into text/template и html/template sources.
Read More → templates html text sources