forked from ebhomengo/niki
13 lines
187 B
Go
13 lines
187 B
Go
|
package mysqlkindbox
|
||
|
|
||
|
import "git.gocasts.ir/ebhomengo/niki/repository/mysql"
|
||
|
|
||
|
type DB struct {
|
||
|
conn *mysql.MySQLDB
|
||
|
}
|
||
|
|
||
|
func New(conn *mysql.MySQLDB) *DB {
|
||
|
return &DB{
|
||
|
conn: conn,
|
||
|
}
|
||
|
}
|