Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Password string `json:"password"`
Models []interface{} `json:"models"`
Logger logger.Interface `json:"logger"`
Debug bool `json:"debug"`
Force bool `json:"force"`
}
Config ...
type Model ¶
type Model struct {
Id int64 `json:"id" gorm:"column:id;primaryKey;AUTO_INCREMENT;not null"`
CreatedAt time.Time `json:"created_at" gorm:"column:created_at;not null" comment:"创建时间"`
UpdatedAt time.Time `json:"updated_at" gorm:"column:updated_at;not null" comment:"更新时间"`
}
Model ...
Click to show internal directories.
Click to hide internal directories.