code: func deleteMatchingEntries(original []interface{}, mergeKey string, mergeValue interface{}) ([]interface{}, error) {
  	for {
  		_, originalKey, found, err := findMapInSliceBasedOnKeyValue(original, mergeKey, mergeValue)
  		if err != nil {
  			return nil, err
  		}
  
  		if !found {
  			break
  		}
  		// Delete the element at originalKey.
  		original = append(original[:originalKey], original[originalKey+1:]...)
  	}
  	return original, nil
  }
docs: // delete all matching entries (based on merge key) from a merging list