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
notice the type assertion conn := redisPool.GetWithContext(ctx).(redis.ConnWithContext)
redis.Conn is an interface not a type so we can't change it, but that type assertion will enable you to handle DoContext. Let's update that example.
The code example here doesn't work https://opencensus.io/integrations/redis/go/gomodule_redigo/
I'm getting the error
conn.DoContext undefined (type redis.Conn has no field or method DoContext)
The text was updated successfully, but these errors were encountered: