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

Change Z member to string (#2818)

This commit is contained in:
ofekshenawa
2023-12-17 15:20:01 +02:00
committed by GitHub
parent 1d784578df
commit e535124055
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 interface{}
Member string
}
// ZWithKey represents sorted set member including the name of the key where it was popped.