Skip to content

Latest commit

 

History

History
 
 

episode14

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Building Web Pages Using html/template

Watch The Screencast

Go in 5 Minutes, episode 14.

This screencast shows the basics of using the html/template package to build complex web pages with Go.

Screencast video: https://www.goin5minutes.com/screencast/episode_14_using_templates/index.html

Extended screencast: https://gum.co/gifm-x-14

Outline

  1. Writing templates
  2. Rendering templates
  3. Example code

Additional resources

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.