code: func (r *GormWorkItemLinkRepository) deleteLink(ctx context.Context, lnk WorkItemLink, suppressorID uuid.UUID) error {
  	log.Info(ctx, map[string]interface{}{
  		"wil_id": lnk.ID,
  	}, "Deleting the work item link")
  
  	tx := r.db.Delete(&lnk)
  	if tx.RowsAffected == 0 {
  		return errors.NewNotFoundError("work item link", lnk.ID.String())
  	}
  	if tx.Error != nil {
  		log.Error(ctx, map[string]interface{}{
  			"wil_id": lnk.ID,
  			"err":    tx.Error,
  		}, "unable to delete work item link")
  		return errors.NewInternalError(ctx, tx.Error)
  	}
  	// save a revision of the deleted work item link
  	if err := r.revisionRepo.Create(ctx, suppressorID, RevisionTypeDelete, lnk); err != nil {
  		return errs.Wrapf(err, "error while deleting work item")
  	}
  	return nil
  }
docs: // Delete deletes the work item link with the given id
  // returns NotFoundError or InternalError