func (rs *RangeScanner) Keys() (keys [][]byte, err error) {
	err = rs.db.View(func(tx *bolt.Tx) error {
		c := tx.Bucket(rs.BucketName).Cursor()
		for k, _ := c.Seek(rs.Min); isBefore(k, rs.Max); k, _ = c.Next() {
			keys = append(keys, k)
		}
		return nil
	})
	if err != nil {
		return nil, err
	}
	return keys, err
}
// Keys returns a slice of keys within the range.
Keys returns a slice of keys within the range.
// Keys returns a slice of keys within the range .
func (rs *RangeScanner) Keys() (keys [][]byte, err error) {
	err = rs.db.View(func(tx *bolt.Tx) error {
		c := tx.Bucket(rs.BucketName).Cursor()
		for k, _ := c.Seek(rs.Min); isBefore(k, rs.Max); k, _ = c.Next() {
			keys = append(keys, k)
		}
		return nil
	})
	if err != nil {
		return nil, err
	}
	return keys, err
}
func ( rs * RangeScanner ) Keys ( ) ( keys [ ] [ ] byte , err error ) { err = rs . db . View ( func ( tx * bolt . Tx ) error { c := tx . Bucket ( rs . BucketName ) . Cursor ( ) for k , _ := c . Seek ( rs . Min ) ; isBefore ( k , rs . Max ) ; k , _ = c . Next ( ) { keys = append ( keys , k ) } return nil } ) if err != nil { return nil , err } return keys , err }
Keys returns a slice of keys within the range.
Keys returns a slice of keys within the range .