Versions in this module Expand all Collapse all v0 v0.1.0 Jan 17, 2019 Changes in this version + var DigitEnglish = map[rune]string + var TemplateFuncs = template.FuncMap + func AllFuncSourceCode(val interface{}) (string, error) + func ApplyTemplate(name string, tmpl string, executor interface{}, fncs template.FuncMap) (string, error) + func BuildParamMap(urlTmpl string) map[string]int + func EnglishNumber(i int) string + func FormatCode(code string) string + func FuncSourceCode(val interface{}) (string, error) + func GenClientTemplate(exec interface{}) (string, error) + func GenServerTemplate(exec interface{}) (string, error) + func LowCamelName(s string) string + func PathParams(url string, urlTmpl string) (map[string]string, error) + func RemoveBraces(val string) string + type Binding struct + BasePath string + Fields []*Field + Label string + Parent *Method + PathTemplate string + Verb string + func NewBinding(i int, meth *svcdef.ServiceMethod) *Binding + func (b *Binding) GenClientEncode() (string, error) + func (b *Binding) GenServerDecode() (string, error) + func (b *Binding) PathSections() []string + type Field struct + CamelName string + ConvertFunc string + ConvertFuncNeedsErrorCheck bool + GoType string + IsBaseType bool + IsEnum bool + LocalName string + Location string + LowCamelName string + Name string + QueryParamName string + Repeated bool + TypeConversion string + func (f *Field) GenQueryUnmarshaler() (string, error) + type Helper struct + ClientTemplate func(interface{}) (string, error) + Methods []*Method + ServerTemplate func(interface{}) (string, error) + func NewHelper(svc *svcdef.Service) *Helper + type Method struct + Bindings []*Binding + Name string + RequestType string + ResponseType string + func NewMethod(meth *svcdef.ServiceMethod) *Method