code: func (r *GormWorkItemLinkRepository) ListChildLinks(ctx context.Context, linkTypeID uuid.UUID, parentIDs ...uuid.UUID) (WorkItemLinkList, error) {
  	defer goa.MeasureSince([]string{"goa", "db", "workitemlink", "list", "children", "ids"}, time.Now())
  
  	var results WorkItemLinkList
  	db := r.db.Model(&WorkItemLink{}).Where("source_id IN (?) AND link_type_id = ?", parentIDs, linkTypeID).Scan(&results)
  	if db.Error != nil {
  		log.Error(ctx, map[string]interface{}{
  			"err": db.Error,
  		}, "failed to find children for work items: %+v", parentIDs)
  		return nil, errors.NewInternalError(ctx, errs.Wrapf(db.Error, "failed to find children for work items: %+v", parentIDs))
  	}
  
  	return results, nil
  }
docs: // ListChildLinks gets all links to children for the given parents