3 Simple Techniques using Go Templates

Using Go Templates can be quite confusing at the start but once you get used to what all it can do, you will simply love it. Right from printing simple text or parsing the text into an HTML to display it on a web page or to send it via email is what Go Templates can do.

I am going to show you 6 simple tricks in with how does each functionality work and a sample working code of each of those…