Building Web Pages Using
Go in 5 Minutes, episode 14.
This screencast shows the basics of using the
html/template package to build complex web pages with Go.
Extended screencast: https://gum.co/gifm-x-14
- Writing templates
- Rendering templates
- Example code
The GoDoc for
html/template (https://godoc.org/html/template) is very high quality and has great explanations on how the package works and how to use it.