code: func (db *DB) ZRangeGeneric(key []byte, start int, stop int, reverse bool) ([]ScorePair, error) {
  	offset, count, err := db.zParseLimit(key, start, stop)
  	if err != nil {
  		return nil, err
  	}
  
  	return db.zRange(key, MinScore, MaxScore, offset, count, reverse)
  }
docs: // ZRangeGeneric is a generic function for scan zset.