(ctx context.Context, sql string, args ...interface{})
| 31 | } |
| 32 | |
| 33 | func (bq BadQueryer) QueryContext(ctx context.Context, sql string, args ...interface{}) (*sql.Rows, error) { |
| 34 | return nil, fmt.Errorf("FAIL: %s", strings.TrimSpace(sql)) |
| 35 | } |
| 36 | |
| 37 | // BadDB implements the interface for the *sql.DB Conn() method in a way that |
| 38 | // always fails |
nothing calls this directly
no outgoing calls
no test coverage detected