mirror of https://github.com/shunfei/cronsun
14 lines
125 B
Go
14 lines
125 B
Go
|
package cronsun
|
||
|
|
||
|
import (
|
||
|
"github.com/shunfei/cronsun/db"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
mgoDB *db.Mdb
|
||
|
)
|
||
|
|
||
|
func GetDb() *db.Mdb {
|
||
|
return mgoDB
|
||
|
}
|