code: func enrichLinkList(ctx context.Context, appl application.Application, req *http.Request, linkArr *app.WorkItemLinkList) error {
  	// include link types
  	typeDataArr, err := getTypesOfLinks(ctx, appl, req, linkArr.Data)
  	if err != nil {
  		return errs.WithStack(err)
  	}
  	// Convert slice of objects to slice of interface (see https://golang.org/doc/faq#convert_slice_of_interface)
  	interfaceArr := make([]interface{}, len(typeDataArr))
  	for i, v := range typeDataArr {
  		interfaceArr[i] = v
  	}
  	linkArr.Included = append(linkArr.Included, interfaceArr...)
  
  	// TODO(kwk): Include WIs from source and target?
  	workItemDataArr, err := getWorkItemsOfLinks(ctx, appl, req, linkArr.Data)
  	if err != nil {
  		return err
  	}
  	// Convert slice of objects to slice of interface (see https://golang.org/doc/faq#convert_slice_of_interface)
  	interfaceArr = make([]interface{}, len(workItemDataArr))
  	for i, v := range workItemDataArr {
  		interfaceArr[i] = v
  	}
  	linkArr.Included = append(linkArr.Included, interfaceArr...)
  	return nil
  }
docs: // enrichLinkList includes related resources in the linkArr's "included" element