mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
Merge branch 'master' of https://github.com/duanhf2012/Origin
This commit is contained in:
@@ -35,8 +35,8 @@ type DBResult struct {
|
||||
}
|
||||
|
||||
//OnInit ...
|
||||
func (slf *DBModule) Init() {
|
||||
slf.Connect(100)
|
||||
func (slf *DBModule) OnInit() error {
|
||||
return slf.Connect(100)
|
||||
}
|
||||
|
||||
// Next ...
|
||||
|
||||
Reference in New Issue
Block a user