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

16 lines
183 B
Go
Raw Permalink 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"
)
2023-12-16 07:20:01 +00:00
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
}