Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Conditional ¶
func MapKeyArray ¶ added in v0.3.0
func MapKeyArray[K comparable, V any](m map[K]V) []K
func MapValues ¶ added in v0.3.0
func MapValues[K comparable, V any](m map[K]V) []V
Types ¶
type Set ¶
type Set[K comparable] map[K]struct{}
func KeySet ¶ added in v0.2.0
func KeySet[K comparable, V any](m map[K]V) Set[K]
func MapKeys ¶ added in v0.3.0
func MapKeys[K comparable, V any](m map[K]V) Set[K]
func NewSet ¶
func NewSet[K comparable](keys ...K) Set[K]
Click to show internal directories.
Click to hide internal directories.