diff --git a/slice/slice.go b/slice/slice.go index 321efea..388ee20 100644 --- a/slice/slice.go +++ b/slice/slice.go @@ -474,7 +474,7 @@ func Intersection(slices ...interface{}) interface{} { } res := Reduce(slices, reduceFunc, nil) - return Union(res) + return Unique(res) } // ReverseSlice return slice of element order is reversed to the given slice