func (t *Template) withStateFuncs(td TemplateData) *template.Template {
	return t.template.Funcs(map[string]interface{}{
		"goType": td.global.goType,
	})
}
func (t *Template) withStateFuncs(td TemplateData) *template.Template {
	return t.template.Funcs(map[string]interface{}{
		"goType": td.global.goType,
	})
}
// withStateFuncs adds functions to the template that are dependent upon state.