Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cut ¶
func Cut[T comparable](i, j int, a ...T) []T
Cut removes an element from a slice at a given position.
func Delete ¶
func Delete[T comparable](i int, a ...T) []T
Delete removes an element from a slice by value.
func Insert ¶
func Insert[T comparable](x T, idx int, a ...T) []T
Insert adds an element at a given position in a slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.