Merge¶
func Merge[T any](slices ...[]T) (mergedSlice []T)
Merge takes slices of type T and merges them into a single slice of type T, preserving their order.
Deprecated: prefer slices.Concat(slices...) from the standard library.
func Merge[T any](slices ...[]T) (mergedSlice []T)
Merge takes slices of type T and merges them into a single slice of type T, preserving their order.
Deprecated: prefer slices.Concat(slices...) from the standard library.