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 Enum + const Len + const Nil + const PEnum + const PLen + const PZero + const Template + const Zero + func CreateCommand() *cobra.Command + type Options struct + KeepPK bool + Package string + func (o *Options) Def() + type TemplateColumn struct + Check string + Enum template.HTML + Import string + func NewTemplateColumn(column model.Column, options Options) TemplateColumn + type TemplateEntity struct + Columns []TemplateColumn + Imports []string + 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 + type Validate struct + func New() *Validate + func (g *Validate) AddFlags(command *cobra.Command) + func (g *Validate) Generate() error + func (g *Validate) Options() *Options + func (g *Validate) Packer() base.Packer + func (g *Validate) ReadFlags(command *cobra.Command) error + func (g *Validate) SetOptions(options Options)