You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var ret = make(map[string]float64)
if len(bytes) > 0 {
for _, member := range bytes {
f, err := client.Zscore(key, member)
if err != nil {
return nil, err
}
ret[string(member)] = f
}
}
return ret, nil
ZRANGE test_name 0 -1 withscores
This‘s method.
func (client *Client) Zrange(key string, start int, end int) ([][]byte, error)
Can not meet the conditions.
If you want to design like this?
func (client *Client) Zrange(key string, start int, end int) ([]map[[]byte]uint64, error)
The text was updated successfully, but these errors were encountered: