Versions in this module Expand all Collapse all v0 v0.2.0 Oct 12, 2022 v0.1.0 Sep 13, 2022 Changes in this version + const Template + func CreateCommand() *cobra.Command + type Options struct + AddJSONTag bool + KeepPK bool + NoAlias bool + Package string + Relaxed bool + func (o *Options) Def() + type Search struct + func New() *Search + func (g *Search) AddFlags(command *cobra.Command) + func (g *Search) Generate() error + func (g *Search) Options() *Options + func (g *Search) Packer() base.Packer + func (g *Search) ReadFlags(command *cobra.Command) error + func (g *Search) Repack(packer base.Packer) error + func (g *Search) SetOptions(options Options) + type TemplateColumn struct + CustomRender template.HTML + HasTags bool + Relaxed bool + Tag template.HTML + UseCustomRender bool + func NewTemplateColumn(_ model.Entity, column model.Column, options Options) TemplateColumn + type TemplateEntity struct + Alias string + Columns []TemplateColumn + Imports []string + NoAlias bool + func NewTemplateEntity(entity model.Entity, options Options) TemplateEntity + type TemplatePackage struct + Entities []TemplateEntity + HasImports bool + Imports []string + Package string + func NewTemplatePackage(entities []model.Entity, options Options) TemplatePackage