mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-06-21 17:31:57 +08:00
chore: update goctl interface{} to any (#2819)
* chore: update goctl interface{} to any
* chore: update goctl interface{} to any
This commit is contained in:
@@ -24,14 +24,14 @@ type (
|
||||
|
||||
// DbColumn defines column info of columns
|
||||
DbColumn struct {
|
||||
Name string `db:"COLUMN_NAME"`
|
||||
DataType string `db:"DATA_TYPE"`
|
||||
ColumnType string `db:"COLUMN_TYPE"`
|
||||
Extra string `db:"EXTRA"`
|
||||
Comment string `db:"COLUMN_COMMENT"`
|
||||
ColumnDefault interface{} `db:"COLUMN_DEFAULT"`
|
||||
IsNullAble string `db:"IS_NULLABLE"`
|
||||
OrdinalPosition int `db:"ORDINAL_POSITION"`
|
||||
Name string `db:"COLUMN_NAME"`
|
||||
DataType string `db:"DATA_TYPE"`
|
||||
ColumnType string `db:"COLUMN_TYPE"`
|
||||
Extra string `db:"EXTRA"`
|
||||
Comment string `db:"COLUMN_COMMENT"`
|
||||
ColumnDefault any `db:"COLUMN_DEFAULT"`
|
||||
IsNullAble string `db:"IS_NULLABLE"`
|
||||
OrdinalPosition int `db:"ORDINAL_POSITION"`
|
||||
}
|
||||
|
||||
// DbIndex defines index of columns in information_schema.statistic
|
||||
|
||||
Reference in New Issue
Block a user