niki/repository/mysql/benefactor/db.go

14 lines
181 B
Go
Raw Permalink Normal View History

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,
}
}