code: func (list WorkItemLinkList) GetDistinctListOfTargetIDs(linkTypeID uuid.UUID) id.Slice {
  	m := id.Map{}
  	for _, l := range list {
  		if l.LinkTypeID == linkTypeID {
  			m[l.TargetID] = struct{}{}
  		}
  	}
  	return m.ToSlice()
  }
docs: // GetDistinctListOfTargetIDs returns a list of distinct source IDs in the given
  // list.