web page

web page

Building Web Pages Using the html/template Package (Episode 14)

9h ago
SOURCE  

Tags

Description

This screencast talks about how to use the html/template (https://godoc.org/html/template) package to properly build basic web pages with a Go web server. In the example code, we show the basic structure of template files, highlighting the best way to compose templates together, and the simplest way to parse and render those templates in your Go code. Code and outlines are available on Github at: https://github.com/arschles/go-in-5-minutes/tree/master/episode14 Get the complementary extended screencast at https://gum.co/gifm-x-14 Sign up for our newsletter to get new screencast notifications by email: http://www.goin5minutes.com/subscribe/index.html.