Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Map ¶
func Map[In, Out any](in []In, fn func(In) Out) []Out
Map maps the input slice using the provided mapper function.
func Unique ¶
func Unique[In ~[]T, T comparable](in In) []T
Unique returns a new slice containing the unique elements of the input slice.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.