Versions in this module Expand all Collapse all v0 v0.11.0 Oct 13, 2019 Changes in this version + func Call(p *types.Func) string + func Dump(val interface{}) string + func Funcs() template.FuncMap + func Render(cfg Options) error + func ToGo(name string) string + func ToGoPrivate(name string) string + func TypeIdentifier(t types.Type) string + type Import struct + Alias string + Name string + Path string + func (i *Import) String() string + type Imports struct + var CurrentImports *Imports + func (s *Imports) Lookup(path string) string + func (s *Imports) LookupType(t types.Type) string + func (s *Imports) Reserve(path string, aliases ...string) (string, error) + func (s *Imports) String() string + type Options struct + Data interface{} + Filename string + Funcs template.FuncMap + GeneratedHeader bool + PackageName string + RegionTags bool + Template string