| 10 | ) |
| 11 | |
| 12 | type DBTX interface { |
| 13 | ExecContext(context.Context, string, ...interface{}) (sql.Result, error) |
| 14 | PrepareContext(context.Context, string) (*sql.Stmt, error) |
| 15 | QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error) |
| 16 | QueryRowContext(context.Context, string, ...interface{}) *sql.Row |
| 17 | } |
| 18 | |
| 19 | func New(db DBTX) *Queries { |
| 20 | return &Queries{db: db} |
no outgoing calls
no test coverage detected