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

14 lines
178 B
Go
Raw Normal View History

package mysqladdress
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
}