code: func (r *GormWorkItemTypeGroupRepository) Load(ctx context.Context, groupID uuid.UUID) (*WorkItemTypeGroup, error) {
  	defer goa.MeasureSince([]string{"goa", "db", "workitemtypegroup", "load"}, time.Now())
  	log.Debug(ctx, map[string]interface{}{"witg_id": groupID}, "loading work item type group ")
  	res := WorkItemTypeGroup{}
  	db := r.db.Model(&res).Where("id=?", groupID).First(&res)
  	if db.RecordNotFound() {
  		log.Error(ctx, map[string]interface{}{"witg_id": groupID}, "work item type group not found")
  		return nil, errors.NewNotFoundError("work item type group", groupID.String())
  	}
  	if err := db.Error; err != nil {
  		return nil, errors.NewInternalError(ctx, err)
  	}
  	typeList, err := r.loadTypeList(ctx, res.ID)
  	if err != nil {
  		return nil, errs.WithStack(err)
  	}
  	res.TypeList = typeList
  	return &res, nil
  }
docs: // Load returns the work item type group for the given id