Versions in this module Expand all Collapse all v0 v0.0.6 Dec 4, 2023 v0.0.5 Aug 17, 2023 v0.0.4 Aug 17, 2023 Changes in this version + type BaseModel struct + CreatedAt time.Time + DeletedAt *time.Time + UpdatedAt time.Time + type DBColumns struct + CharacterMaximumLength string + CharacterSetName string + ColumnComment string + ColumnDefault string + ColumnKey string + ColumnName string + ColumnType string + DataType string + Extra string + IsNullable string + TableCatalog string + TableName string + TableSchema string + type DBTables struct + CreateTime time.Time + Engine string + TableCollation string + TableComment string + TableName string + TableRows string + UpdateTime time.Time + type Dao struct + func New(dsn string) (d *Dao, err error) + func (d *Dao) GetDBColumnsList(dbname string, e *DBColumns) (doc []DBColumns, err error) + func (d *Dao) GetDBTablesPage(dbname string, e *DBTables, pageSize int, pageIndex int) (doc []DBTables, count int64, err error) + type Params struct + TreeCode string + TreeName string + TreeParentCode string + type SysColumns struct + ColumnComment string + ColumnId int32 + ColumnName string + ColumnType string + CreateBy string + DictType string + Edit bool + GoField string + GoType string + HtmlType string + Increment bool + Insert bool + IsEdit string + IsIncrement string + IsInsert string + IsList string + IsPk string + IsQuery string + IsRequired string + JsonField string + List string + Pk bool + Query bool + QueryType string + Remark string + Required bool + Sort int32 + SuperColumn bool + TableId int32 + UpdateBy string + UsableColumn bool + func (SysColumns) TableName() string + type SysTables struct + BusinessName string + ClassName string + Columns []SysColumns + CreateBy string + Crud bool + FunctionAuthor string + FunctionName string + IsLogicalDelete string + LogicalDelete bool + LogicalDeleteColumn string + Module string + ModuleName string + Options string + PackageName string + PkColumn string + PkGoField string + PkJsonField string + Remark string + TBName string + TableComment string + TableId int32 + TplCategory string + Tree bool + TreeCode string + TreeName string + TreeParentCode string + UpdateBy string + func (SysTables) TableName() string