Why does the go redis/v8 version function input must have a context type? #1697
-
Why does the go redis/v8 version function input must have a context type? but go redis does not What is the difference and impact on use? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
context.Context is mainly used for canceling operations and tracing. It is a general Go feature so you should be able to google more info if needed. |
Beta Was this translation helpful? Give feedback.
-
That doesn't smell right. |
Beta Was this translation helpful? Give feedback.
context.Context is mainly used for canceling operations and tracing. It is a general Go feature so you should be able to google more info if needed.