Delete

Removes an element or range of elements from the slice, preserving the order.


slices.Delete([]int{1, 2, 3}, 1, 2)
                        
introduction.go