1
This commit is contained in:
parent
7c78c84b2b
commit
6c34f7de11
1
app.go
1
app.go
@ -76,6 +76,7 @@ type app struct {
|
|||||||
func (this *app) init(userApp UserApp) {
|
func (this *app) init(userApp UserApp) {
|
||||||
this.userApp = userApp
|
this.userApp = userApp
|
||||||
this.nowTime = time.Now()
|
this.nowTime = time.Now()
|
||||||
|
this.ormDbHash = make(map[string]*gorm.DB)
|
||||||
this.SetTimeOffset(0)
|
this.SetTimeOffset(0)
|
||||||
atomic.StoreInt64(&this.nowUnixNano, this.nowTime.UnixNano())
|
atomic.StoreInt64(&this.nowUnixNano, this.nowTime.UnixNano())
|
||||||
_timer = new(timer)
|
_timer = new(timer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user