Documentation ¶
Index ¶
Constants ¶
View Source
const (
DuplicateMysqlErr = 1062
)
Define mysql error numbers
Variables ¶
View Source
var Db *gorm.DB
Functions ¶
func InitDb ¶
func InitDb(database *config.DataBaseConfig)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.