Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GroupBy ¶
func GroupBy[K comparable, V any](items []V, keyFunc func(item V) K) map[K][]V
GroupBy groups the given slice of items using a function which provides a key, based on which the items will be grouped.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.