(ctx context.Context, sql string, args ...interface{})
| 13 | // Needed for mocking the database connection pool in tests. |
| 14 | type PostgresPool interface { |
| 15 | Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error) |
| 16 | Exec(ctx context.Context, sql string, args ...interface{}) (pgconn.CommandTag, error) |
| 17 | Close() |
| 18 | } |
no outgoing calls