Building Rich CLI Applications with Go’s Built-in Templating
Overview The templating package text/template implements data-driven templates for generating textual output. Although we do not benefit from executing the template output more than once, we found it easy to use and helpful for outputting text with colors, marshaling data, and rendering tabular information. By mapping additional functions by name, it is possible to extend …
Building Rich CLI Applications with Go’s Built-in Templating Read More »