blob: e6f50be6cb77b9ce3a3d3694ab5d6132eb11b79a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package repos
import (
"github.com/jmoiron/sqlx"
)
type Provider struct {
db *sqlx.DB
}
func NewProvider(conn *sqlx.DB) *Provider {
return &Provider{
db: conn,
}
}
|