switch to pgx driver + create merch
This commit is contained in:
parent
546fe13107
commit
97f8d27430
13 changed files with 289 additions and 69 deletions
|
|
@ -1,7 +1,7 @@
|
|||
package user
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"github.com/jackc/pgx/v5/pgxpool"
|
||||
"merch-api/pkg/utils"
|
||||
)
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ type Handler struct {
|
|||
}
|
||||
|
||||
type Deps struct {
|
||||
DB *sql.DB
|
||||
DB *pgxpool.Pool
|
||||
Utils utils.Utils
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue