mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Pass pointers where it makes sense
This commit is contained in:
@ -188,7 +188,7 @@ func BenchmarkZAdd(b *testing.B) {
|
||||
|
||||
b.RunParallel(func(pb *testing.PB) {
|
||||
for pb.Next() {
|
||||
err := client.ZAdd("key", redis.Z{
|
||||
err := client.ZAdd("key", &redis.Z{
|
||||
Score: float64(1),
|
||||
Member: "hello",
|
||||
}).Err()
|
||||
|
Reference in New Issue
Block a user