Documentation ¶ Index ¶ type Generator func (g *Generator) CreateFile(f string, tpl *template.Template, data interface{}) error func (g *Generator) Generate(schema *schema.Schema) error func (g *Generator) LoadTemplates(src embed.FS, adapter string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Generator ¶ type Generator struct { Adapter string Templates map[string]*template.Template // contains filtered or unexported fields } func (*Generator) CreateFile ¶ func (g *Generator) CreateFile(f string, tpl *template.Template, data interface{}) error func (*Generator) Generate ¶ func (g *Generator) Generate(schema *schema.Schema) error func (*Generator) LoadTemplates ¶ func (g *Generator) LoadTemplates(src embed.FS, adapter string) error load template files from go embed Source Files ¶ View all Source files generator.go Directories ¶ Show internal Expand all Path Synopsis client golang golang/templates/queryx Click to show internal directories. Click to hide internal directories.