package
Version:
v0.0.0-...-b33464d
Opens a new window with list of versions in this module.
Published: Jul 31, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GroupBy[T any, K comparable](slice []T, keyFunc func(T) K) map[K][]T
groups elements of the slice into a map based on a key function
Source Files
¶
Click to show internal directories.
Click to hide internal directories.