niki/repository/mysql/mysqlpiggybank/db.go

14 lines
190 B
Go
Raw Normal View History

2023-12-16 07:20:01 +00:00
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,
}
}