Versions in this module Expand all Collapse all v1 v1.0.5 Mar 1, 2024 Changes in this version + type LangTmpl struct + Formater func(string) (string, error) + Funcs template.FuncMap + GenImports func([]*schemas.Table) map[string]string + var CPlusTmpl LangTmpl = LangTmpl{ ... } + var GoLangTmpl LangTmpl = LangTmpl{ ... } + var ObjcTmpl LangTmpl = LangTmpl{ ... } + type Render struct + func (r *Render) Do(tmpl *template.Template, newFileName, ext string) error + type Reverse struct + func NewReverse(option ...ReverseOption) *Reverse + func (r *Reverse) Run(cmd *cobra.Command, args []string) + type ReverseOption func(r *Reverse) error + func SetReverseSingle(s bool) ReverseOption + func SetReverseTmplPath(path string) ReverseOption + type Tmpl struct + Imports map[string]string + Models string + Tables []*schemas.Table