switch to pgx driver + create merch

This commit is contained in:
nquidox 2026-03-04 17:02:11 +03:00
parent 546fe13107
commit 97f8d27430
13 changed files with 289 additions and 69 deletions

View file

@ -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
}