Checks whether two slices have the same elements in the same order. Checking whether two slices are equal:
slices.Equal([]int{1, 2}, []int{1, 2})