how to get/read original result format, like ReadReply #3507
Unanswered
ygzhang-cn
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My cache is a local memory cache and Redis proxy wrapper that encountered difficulties in building proxy interfaces. When setting val, it was serialized and encoded uniformly, but when getting val, the result format returned was string, which cannot support automatic decoding of switch val. (type) {}
rdb.Get(ctx, "foo").Result() to get of string.
rdb.Do(ctx, "get", key).Result() to get of string.
Beta Was this translation helpful? Give feedback.
All reactions