Building web pages using the html/template package

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.

(Read below for details)

Check out the example code on Github.

Extended screencast

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:

Go 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 for more details.

If you enjoyed this screencast, please consider becoming a backer and supporting Go in 5 Minutes. Cool stickers and more await you!