1
0
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:
Vladimir Mihailenco
2017-02-18 15:42:12 +02:00
parent 135cb12c76
commit 56ddaf1199
2 changed files with 3 additions and 3 deletions

View File

@ -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()