Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ZeroedDelete ¶
ZeroedDelete removes the elements s[i:j] from s, returning the modified slice. This function panics if s[i:j] is not a valid slice of s. This function modifies the contents of the slice s; it does not create a new slice. The elements that are removed are zeroed so that any references can be garbage collected. If you do not need this, use slices.Delete instead.
func ZeroedDeleteFunc ¶ added in v1.90.0
ZeroedDeleteFunc removes any elements from s for which del returns true, returning the modified slice. This function modifies the contents of the slice s; it does not create a new slice. The elements that are removed are zeroed so that any references can be garbage collected. If you do not need this, use slices.DeleteFunc instead.
Types ¶
This section is empty.