~samwhited/tmpl

5299e98829147a48489afb9ae19fa98a9ca94fb6 — Sam Whited 1 year, 5 months ago 564939b
Fix odd formatting in docs
1 files changed, 1 insertions(+), 8 deletions(-)

M tmpl.go
M tmpl.go => tmpl.go +1 -8
@@ 171,14 171,7 @@ type RenderFunc func(uid int, flash Flash, w http.ResponseWriter, r *http.Reques
// the cookie).
// To set a flash message in a cookie (eg. to persist it across a redirect) see
// SetFlash.
func Renderer(
	domain,
	xsrfKey,
	tmplName,
	title string,
	tmpls Template,
	data func(Page) interface{},
) RenderFunc {
func Renderer(domain, xsrfKey, tmplName, title string, tmpls Template, data func(Page) interface{}) RenderFunc {
	if data == nil {
		data = defaultData
	}