package
0.0.0-20250116055402-1c8b5ff8540c
Repository: https://github.com/nexuer/utils.git
Documentation: pkg.go.dev
# Functions
KeySet creates a Set from a keys of a map[comparable](? extends interface{}).
List returns the contents as a sorted T slice.
New creates a Set from a list of values.
No description provided by the author
NewWithSize creates a Set from a list of values with size.
# Structs
Empty is public since it is used by some internal API objects for conversions between external string arrays and internal sets, and conversion logic requires public types today.
# Type aliases
Set is a set of the same type elements, implemented via map[comparable]struct{} for minimal memory consumption.