Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Options() *types.Options
Tables() []*Table
Schema() string
ParseColumnTag(tf *TableColumn) types.Tag
ParseColumnType(tf *TableColumn) string
}
Client .
type TableColumn ¶
type TableColumn struct {
ColumnName string // 列名
ColumnKey string // 键类别
Extra string // 自增
IsNull string // NOT NULL
DataType string // 类型
ColumnType string // 类型+长度
ColumnDesc string // 注释
}
TableColumn fields of db table
type TableExpand ¶
TableExpand db table annoation
Click to show internal directories.
Click to hide internal directories.