We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aafdb1d + e574226 commit 90c6b67Copy full SHA for 90c6b67
zh/05.5.md
@@ -42,7 +42,7 @@ import (
42
43
func init() {
44
//注册驱动
45
- orm.RegisterDriver("mysql", orm.DR_MySQL)
+ orm.RegisterDriver("mysql", orm.DRMySQL)
46
//设置默认数据库
47
orm.RegisterDataBase("default", "mysql", "root:root@/my_db?charset=utf8", 30)
48
//注册定义的model
0 commit comments