How to Create Plaintext Reports in Go Using Templates with Loops and Conditionals
My previous blog post introduced templates in Go by demoing how to produce a simple string using the template.New().Parse function. In this blog post, I will go over the steps on how to use the text/template package with loops and conditional logic t...
alissalozhkin.hashnode.dev3 min read