Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extend ¶
func Extend[T any](elems ...[]T) []T
Extend appends all the elements of slices to a new slice
func Map ¶
func Map[T1, T2 any](s []T1, fn func(T1) T2) []T2
Map returns the slice obtained after applying the given function over every element in the given slice
func Remove ¶
func Remove[T comparable](a []T, items ...T) []T
Remove removes items from the given(a) slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.