Documentation
¶
Overview ¶
Package util holds custom structs and functions to handle common operations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapKeys ¶
func MapKeys[K comparable, V any](m map[K]V) []K
Types ¶
type SyncMap ¶
type SyncMap[K comparable, V comparable] struct { // contains filtered or unexported fields }
SyncMap is a typed sync.Map implementation
func NewSyncMap ¶
func NewSyncMap[K comparable, V comparable]() *SyncMap[K, V]
NewSyncMap creates a new typed concurrent map
Click to show internal directories.
Click to hide internal directories.