fixed broken PgxQuerier interface

This commit is contained in:
Dmitry Anderson 2024-11-12 14:49:02 +01:00
parent ce71a3a553
commit 11ecfac3f5

View File

@ -9,7 +9,6 @@ import (
type PgxQuerier interface { type PgxQuerier interface {
Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error) Query(ctx context.Context, sql string, args ...any) (pgx.Rows, error)
QueryRow(ctx context.Context, sql string, args ...any) (pgx.Row, error)
} }
// Query executes query on a provided querier and tries to parse db response // Query executes query on a provided querier and tries to parse db response