Documentation
¶
Index ¶
- func CompleteFuncMap(names []string, a []any) map[string]any
- func CopyTemplatesToTemp(s string) error
- func ExecHeaderTemplate(output io.Writer) error
- func GetTemplateInterfaces(iface ...any) (ifaces []any)
- func GoFmt(path string) error
- func TempDir() error
- type ITemplate
- type Template
- type Templates
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyTemplatesToTemp ¶ added in v0.0.5
func ExecHeaderTemplate ¶ added in v0.0.5
func GetTemplateInterfaces ¶
Types ¶
type Template ¶
type Template struct { Elems []string Ifaces []interface{} ConfigTemplatePath, OutPutFilePath string FuncMap template.FuncMap IsExcluded bool }
func (*Template) GenerateFile ¶
func (*Template) GenerateNonGo ¶
GenerateNonGo is main generation function for non .go files
Click to show internal directories.
Click to hide internal directories.