forked from ebhomengo/niki
12 lines
170 B
Go
12 lines
170 B
Go
|
package mysqlagent
|
||
|
|
||
|
import "git.gocasts.ir/ebhomengo/niki/repository/mysql"
|
||
|
|
||
|
type DB struct {
|
||
|
conn *mysql.DB
|
||
|
}
|
||
|
|
||
|
func New(conn *mysql.DB) *DB {
|
||
|
return &DB{conn: conn}
|
||
|
}
|