code: func ConvertWorkItems(request *http.Request, wits []workitem.WorkItemType, wis []workitem.WorkItem, additional ...WorkItemConvertFunc) ([]*app.WorkItem, error) {
  	ops := []*app.WorkItem{}
  	if len(wits) != len(wis) {
  		return nil, errs.Errorf("length mismatch of work items (%d) and work item types (%d)", len(wis), len(wits))
  	}
  	for i := 0; i < len(wis); i++ {
  		wi, err := ConvertWorkItem(request, wits[i], wis[i], additional...)
  		if err != nil {
  			return nil, errs.Wrapf(err, "failed to convert work item: %s", wis[i].ID)
  		}
  		ops = append(ops, wi)
  	}
  	return ops, nil
  }
docs: // ConvertWorkItems is responsible for converting given []WorkItem model object into a
  // response resource object by jsonapi.org specifications