Documentation ¶ Index ¶ type Ddl func (d Ddl) Exec() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Ddl ¶ type Ddl struct { Dir string Reverse bool Dao bool Pre string Df string Conf config.DbConfig } Ddl is for ddl command func (Ddl) Exec ¶ func (d Ddl) Exec() Exec executes the logic for ddl command if Reverse is true, it will generate code from database tables, otherwise it will update database tables from structs defined in domain pkg Source Files ¶ View all Source files exec.go Directories ¶ Show internal Expand all Path Synopsis arithsymbol codegen columnenum config ddlast extraenum keyenum logicsymbol nullenum query sortenum table wrapper Click to show internal directories. Click to hide internal directories.