Documentation ¶
Overview ¶
Package slices contains common utilities to work on slices of any type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFunc ¶ added in v1.12.18
DeleteFunc removes any elements from s for which del returns true, returning the modified slice. When DeleteFunc removes m elements, it might not modify the elements s[len(s)-m:len(s)]. If those elements contain pointers you might consider zeroing those elements so that objects they reference can be garbage collected.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.