code: func (c *cursor) Bucket() database.Bucket {
  	// Ensure transaction state is valid.
  	if err := c.bucket.tx.checkClosed(); err != nil {
  		return nil
  	}
  
  	return c.bucket
  }
docs: // Bucket returns the bucket the cursor was created for.
  //
  // This function is part of the database.Cursor interface implementation.