code: func (m *GormIterationRepository) Load(ctx context.Context, id uuid.UUID) (*Iteration, error) {
  	defer goa.MeasureSince([]string{"goa", "db", "iteration", "get"}, time.Now())
  	var obj Iteration
  
  	tx := m.db.Where("id = ?", id).First(&obj)
  	if tx.RecordNotFound() {
  		log.Error(ctx, map[string]interface{}{
  			"iteration_id": id.String(),
  		}, "iteration cannot be found")
  		return nil, errors.NewNotFoundError("Iteration", id.String())
  	}
  	if tx.Error != nil {
  		log.Error(ctx, map[string]interface{}{
  			"iteration_id": id.String(),
  			"err":          tx.Error,
  		}, "unable to load the iteration")
  		return nil, errors.NewInternalError(ctx, tx.Error)
  	}
  	return &obj, nil
  }
docs: // Load a single Iteration regardless of parent