Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterCopy ¶
FilterCopy returns a new slice with only the items that pass the filter The original slice is not modified.
For less memory usage, use FilterInPlace
func FilterInPlace ¶
FilterInPlace modifies the slice in place. See Warning.
Warning: All slices that share the same backing array will be modified and need to be replaced by the return value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.