Versions in this module Expand all Collapse all v0 v0.17.20 Nov 10, 2022 Changes in this version + func Call(p *types.Func) string + func Dump(val interface{}) string + func Funcs() template.FuncMap + func LcFirst(s string) string + func Render(cfg Options) error + func ToGo(name string) string + func ToGoModelName(parts ...string) string + func ToGoPrivate(name string) string + func ToGoPrivateModelName(parts ...string) string + func TypeIdentifier(t types.Type) string + func UcFirst(s string) 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{} + FileNotice string + Filename string + Funcs template.FuncMap + GeneratedHeader bool + PackageDoc string + PackageName string + Packages *code.Packages + RegionTags bool + Template string + TemplateFS fs.FS