Docker container deployment has many advantages over binary deployment.
Let's dive into advantages and see how we can implement docker container deployment from Gitlab CI.
Let's talk standard docker can help us.
Any docker orchestration tools (Kubernetes, for example) will be observed in future articles.
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.
In GO we have goroutines functionality out of the box.
We can run code in parallel.
But in our parallel running code we can work with shared variables.
And it is not clear how exactly GO handles such situations