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 entity pkg Source Files ¶ View all Source files exec.go Directories ¶ Show internal Expand all Path Synopsis codegen columnenum config ddlast extraenum keyenum nullenum sortenum table Click to show internal directories. Click to hide internal directories.