mysql模块添加初始化函数

This commit is contained in:
learnmore2019
2019-02-13 17:37:09 +08:00
parent fc5ce025a3
commit 377add3208

View File

@@ -35,8 +35,8 @@ type DBResult struct {
} }
//OnInit ... //OnInit ...
func (slf *DBModule) Init() { func (slf *DBModule) OnInit() error {
slf.Connect(100) return slf.Connect(100)
} }
// Next ... // Next ...