niki/repository/mysql/kind_box/db.go

14 lines
178 B
Go
Raw Normal View History

2023-12-20 08:47:03 +00:00
package mysqlkindbox
2023-12-16 07:20:01 +00:00
import "git.gocasts.ir/ebhomengo/niki/repository/mysql"
type DB struct {
2024-01-01 07:22:14 +00:00
conn *mysql.DB
2023-12-16 07:20:01 +00:00
}
2024-01-01 07:22:14 +00:00
func New(conn *mysql.DB) *DB {
2023-12-16 07:20:01 +00:00
return &DB{
conn: conn,
}
2023-12-20 15:39:25 +00:00
}