zeromicro / go-zero

A cloud-native Go microservices framework with cli tool for productivity.
https://go-zero.dev
MIT License
29.35k stars 3.96k forks source link

Does gozero redis have a good way to store an object with a hash type #3390

Closed yuff20 closed 1 month ago

yuff20 commented 1 year ago

gozero's built-in Redis-wrapped hmset can only handle map[string]string data

Now an object to store hash data structure, is there a better way to handle it? image

kevwan commented 1 year ago

Would you please submit a PR?

PittYao commented 1 year ago

Would you please submit a PR?

Just change map[string]string to map[string]interface{}.all right? image

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days since being marked as stale.