go-zero
go-zero copied to clipboard
Why the signature of the `hmset` function in `redis` use `map[string]string `instead of `map[string]any` type key-value?
trafficstars
in some case, such as json string:
{
"aaa": "111",
"bbb": 222,
"ccc": 0
}
use Unmarshal to map[string]string will be wrong, the field bbb is empty string in redis
Better to use the same type in the hash key.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.