Skip to content

Commit

Permalink
Merge pull request redis#1170 from XD-DENG/patch-1
Browse files Browse the repository at this point in the history
Fix code typo in README sample code
  • Loading branch information
vmihailenco authored Oct 4, 2019
2 parents 7247939 + bf7ed09 commit 9f73176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ vals, err := client.ZInterStore("out", redis.ZStore{Weights: []int64{2, 3}}, "zs
vals, err := client.Eval("return {KEYS[1],ARGV[1]}", []string{"key"}, "hello").Result()

// custom command
res, err := client.Do("set", "key", "value")
res, err := client.Do("set", "key", "value").Result()
```

## See also
Expand Down

0 comments on commit 9f73176

Please sign in to comment.