Restructure
重构
This commit is contained in:
15
data/view/model/genmysql/def.go
Normal file
15
data/view/model/genmysql/def.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package genmysql
|
||||
|
||||
const (
|
||||
_tagGorm = "gorm"
|
||||
_tagJSON = "json"
|
||||
)
|
||||
|
||||
// GenColumns show full columns
|
||||
type GenColumns struct {
|
||||
Field string `gorm:"column:Field"`
|
||||
Type string `gorm:"column:Type"`
|
||||
Key string `gorm:"column:Key"`
|
||||
Desc string `gorm:"column:Comment"`
|
||||
Null string `gorm:"column:Null"`
|
||||
}
|
||||
Reference in New Issue
Block a user