gomodule / gomodule/redigo

Pass context to TestOnBorrow

Open
#439 4 comments 2 reactions 0 assignees View on GitHub
Enhancement Waiting for response
Dominant language
Go
Stars
9.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I like to add tracing to my code. This depends on being able to pass a context around. To that end, I wish `TestOnBorrow` was passed the context that's passed to `GetContext`. Perhaps this would require a new function so it's not a breaking change: `TestOnBorrowContext`, or something similar.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.