mirror of
https://github.com/redis/go-redis.git
synced 2025-07-31 05:04:23 +03:00
Fix HMSet to accept interface{} value.
This commit is contained in:
@ -1223,7 +1223,7 @@ var _ = Describe("Commands", func() {
|
||||
})
|
||||
|
||||
It("should HMSet", func() {
|
||||
ok, err := client.HMSet("hash", map[string]string{
|
||||
ok, err := client.HMSet("hash", map[string]interface{}{
|
||||
"key1": "hello1",
|
||||
"key2": "hello2",
|
||||
}).Result()
|
||||
|
Reference in New Issue
Block a user