Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletePointerFunc ¶ added in v3.19.0
DeletePointerFunc deletes all elements from the slice for which the function f returns true.
func EqualIgnoreOrder ¶ added in v3.30.0
func EqualIgnoreOrder[T comparable](s1, s2 []T) bool
EqualIgnoreOrder checks if two slices contain the same elements, regardless of their order. This is not optimized for memory usage and is intended for use at startup only. Empty and nil slices are considered equal, matching slices.Equal behavior.
func IndexPointerFunc ¶ added in v3.19.0
IndexPointerFunc returns the index of the first element in the slice for which the function f returns true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.