Jump to Content

Andrew M McCall

Server Side Go

How To Create A Template Cache For Your Golang Web Application

A beginner’s guide to create a reusable template cache for your Go web application: eveything you need to get started. For example the net/http and html/template package are part of the standard library and allow us to create full-featured web applications with just the standard library. Template Cache In Go Web Applications: A Beginner’s Guide Getting started creating a web application with Go isn’t difficult. One area that was difficult for me was the idea of creating a template cache to serve Go template files.