Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just looking at your fmt.Print link, you could be wrapping everything requiring a template in functions handling the html/template stuff, i.e. have code specifically interfacing templating for you that you can just pass a command "render this template". I had a lot of problems with working through templating and ended up with my own wrappers around html/template in Djinn(https://github.com/thrisp/djinn).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: