Documentation ¶
Index ¶
- func Context(ctx context.Context, db *sql.DB) context.Context
- func DBForContext(ctx context.Context) *sql.DB
- func ForContext(ctx context.Context) (*sql.Conn, error)
- func Middleware(db *sql.DB) func(http.Handler) http.Handler
- func WithTx(ctx context.Context, opts *sql.TxOptions, fn func(tx *sql.Tx) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.