lo
lo copied to clipboard
IntersectBy,DifferenceBy,UnionBy for slice
for example: DifferenceBy[T any](list1, list2 []T, equal func(t1, t2 T) bool) ([]T, []T)
Can we make it accept a variadic number of collections?
+1 this it would be super helpful