1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Change Z Member type to interface (#2861)

This commit is contained in:
ofekshenawa
2024-01-07 11:57:20 +02:00
committed by GitHub
parent a32be3d93d
commit 27581fcb43
2 changed files with 5 additions and 5 deletions

View File

@ -727,7 +727,7 @@ func (c cmdable) ZScan(ctx context.Context, key string, cursor uint64, match str
// Z represents sorted set member.
type Z struct {
Score float64
Member string
Member interface{}
}
// ZWithKey represents sorted set member including the name of the key where it was popped.