Episode 14
We show how to do use the the html/template
package (and its close sibling, text/template
). We pay special attention to templating tasks most common to web development like layouts, blocks and partials.
I’ve created a 1hr extended screencast to complement this one. This screencast elaborates on this package and how to use it in the real world. For a fee, you’ll learn:
html/template
package worksGo In 5 Minutes screencasts will always be free, while extended screencasts will be paid. I recommend you get this extended screencast if you’re planning to build a larger application or want to learn more details on how to practically use it.
See https://gum.co/gifm-x-14 for more details.
Check out the example code on GitHub and keep on rockin', Gophers!