dorisbot/database/impl/public/init.go
2019-09-17 10:08:41 +00:00

11 lines
111 B
Go

package public
import "github.com/jmoiron/sqlx"
var x *sqlx.DB
// Init -
func Init(db *sqlx.DB) {
x = db
}