Skip to content

Commit 9f73176

Browse files
authored
Merge pull request #1170 from XD-DENG/patch-1
Fix code typo in README sample code
2 parents 7247939 + bf7ed09 commit 9f73176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ vals, err := client.ZInterStore("out", redis.ZStore{Weights: []int64{2, 3}}, "zs
109109
vals, err := client.Eval("return {KEYS[1],ARGV[1]}", []string{"key"}, "hello").Result()
110110

111111
// custom command
112-
res, err := client.Do("set", "key", "value")
112+
res, err := client.Do("set", "key", "value").Result()
113113
```
114114

115115
## See also

0 commit comments

Comments
 (0)