forked from ebhomengo/niki
1
0
Fork 0
niki/repository/mysql/mysqlpiggybank/db.go

14 lines
190 B
Go

package mysqlpiggybank
import "git.gocasts.ir/ebhomengo/niki/repository/mysql"
type DB struct {
conn *mysql.MySQLDB
}
func New(conn *mysql.MySQLDB) *DB {
return &DB{
conn: conn,
}
}