redigo: unexpected type for String, got type int64
I tried running the same command from cli and I see that its returning int64 , but redigo isn't expecting that. instead its expecting a string. basically HMSET returns string but this is deprecated , so i think we might need to use HSET instead of HMSET.
Ask questions at https://stackoverflow.com/questions/ask?tags=go+redis
error that redigo is giving me
I tried running the same command from cli and I see that its returning int64 , but redigo isn't expecting that. instead its expecting a string. basically HMSET returns string but this is deprecated , so i think we might need to use HSET instead of HMSET.
let me know if anyone need much information !!