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.
map programming interface in GO described in GO blog.
We just need to recall, that map is key-value storage and
it should retrieve values by key as fast as possible.