Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Go template examples [closed]

Tags:

templates

go

What website has some good, up to date resources on using Go html/templates, especially in regard to parsing html files and handling lists? I came across the Hoka Poka website, but it seems to be out of date.

like image 231
ThePiachu Avatar asked Dec 15 '11 14:12

ThePiachu


2 Answers

http://jan.newmarch.name/go/ and http://golangtutorials.blogspot.com/2011/06/go-templates.html

like image 160
lazy1 Avatar answered Sep 28 '22 04:09

lazy1


Google App Engine docs have a simple example showing how to use template to render list with range.

like image 24
proppy Avatar answered Sep 28 '22 03:09

proppy