Documentation
¶
Overview ¶
Package syncutil adds functions for synchronization.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Map ¶ added in v2.1.0
type Map[K comparable, V any] struct { // contains filtered or unexported fields }
Map a generic sync map.
func NewMap ¶ added in v2.1.0
func NewMap[K comparable, V any]() Map[K, V]
NewMap create a new threadsafe map.
Click to show internal directories.
Click to hide internal directories.