mirror of
https://github.com/wonli/aqi.git
synced 2025-12-24 10:40:58 +08:00
14 lines
204 B
Cheetah
14 lines
204 B
Cheetah
package dbc
|
|
|
|
import (
|
|
"github.com/wonli/aqi/store"
|
|
)
|
|
|
|
var Redis *store.RedisStore
|
|
var LogicDB *store.MySQLStore
|
|
|
|
func InitDBC() {
|
|
LogicDB = store.DB("mysql.logic")
|
|
Redis = store.Redis("redis.store")
|
|
}
|