fixed broken PgxQuerier interface
This commit is contained in:
parent
ce71a3a553
commit
11ecfac3f5
1
pg/pg.go
1
pg/pg.go
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user