Documentation
¶
Overview ¶
Package sliceutil provides useful functions for working with slices not provided by the standard library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveZeroValues ¶
func RemoveZeroValues[S ~[]E, E any](s S) S
RemoveZeroValues returns a copy of s with all zero-valued elements removed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.