code: func FilterBySpaceID(spaceID uuid.UUID) func(db *gorm.DB) *gorm.DB {
  	return func(db *gorm.DB) *gorm.DB {
  		return db.Where("space_id = ?", spaceID)
  	}
  }
docs: // FilterBySpaceID is a gorm filter for a Belongs To relationship.