changes in app and pgx

This commit is contained in:
2025-03-27 06:01:02 +01:00
parent 08a5e7fec6
commit b9356ae0e1
2 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -2,11 +2,12 @@ package db
import (
"context"
"log/slog"
_ "github.com/jackc/pgconn"
_ "github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgxpool"
_ "github.com/jackc/pgx/v5/stdlib"
"log/slog"
)
func NewPGXPool(dataSource string) *pgxpool.Pool {