package
Version:
v0.0.0-...-b19cdf9
Opens a new window with list of versions in this module.
Published: Oct 31, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func List[T1, T2 any](slice []T1, converter func(T1) T2) []T2
List converts a list of type T1 to a list of type T2.
func ToSet[T comparable](slice []T) map[T]struct{}
ToSet converts a slice to a set.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.