1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-14 01:21:30 +03:00

Change ZWithKey

This commit is contained in:
Vladimir Mihailenco
2018-11-03 12:07:25 +02:00
parent 6809e07fd3
commit 58f22c56fd
2 changed files with 22 additions and 15 deletions

View File

@ -1554,9 +1554,8 @@ type Z struct {
// ZWithKey represents sorted set member including the name of the key where it was popped.
type ZWithKey struct {
Score float64
Member interface{}
Key string
Z
Key string
}
// ZStore is used as an arg to ZInterStore and ZUnionStore.