func (rs *RangeScanner) Map(do func(k, v []byte) error) error {
	return rs.db.View(func(tx *bolt.Tx) error {
		c := tx.Bucket(rs.BucketName).Cursor()
		for k, v := c.Seek(rs.Min); isBefore(k, rs.Max); k, v = c.Next() {
			do(k, v)
		}
		return nil
	})
}
// Map applies `do` on each key/value pair for keys within range.
Map applies `do` on each key/value pair for keys within range.
// Map applies ` do ` on each key / value pair for keys within range .
func (rs *RangeScanner) Map(do func(k, v []byte) error) error {
	return rs.db.View(func(tx *bolt.Tx) error {
		c := tx.Bucket(rs.BucketName).Cursor()
		for k, v := c.Seek(rs.Min); isBefore(k, rs.Max); k, v = c.Next() {
			do(k, v)
		}
		return nil
	})
}
func ( rs * RangeScanner ) Map ( do func ( k , v [ ] byte ) error ) error { return rs . db . View ( func ( tx * bolt . Tx ) error { c := tx . Bucket ( rs . BucketName ) . Cursor ( ) for k , v := c . Seek ( rs . Min ) ; isBefore ( k , rs . Max ) ; k , v = c . Next ( ) { do ( k , v ) } return nil } ) }
Map applies `do` on each key/value pair for keys within range.
Map applies ` do ` on each key / value pair for keys within range .