You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why does the go redis/v8 version function input must have a context type?
example: go redis/v8
func (c cmdable) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *StatusCmd {...}
but go redis does not
example: go redis
func (c cmdable) Set(key string, value interface{}, expiration time.Duration) *StatusCmd {...}
What is the difference and impact on use?
The text was updated successfully, but these errors were encountered:
Why does the go redis/v8 version function input must have a context type?
example: go redis/v8
func (c cmdable) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *StatusCmd {...}
but go redis does not
example: go redis
func (c cmdable) Set(key string, value interface{}, expiration time.Duration) *StatusCmd {...}
What is the difference and impact on use?
The text was updated successfully, but these errors were encountered: