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