package
module
Version:
v0.0.0-...-70333e7
Opens a new window with list of versions in this module.
Published: Mar 28, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cmap Concurrent safe Map based on map and sync.RWMutex
Cmap concurrent safe map
Clear removes all items from the set
Get get from cmap return k's value
Has returns true if k exists in the map
IsEmpty checks for emptiness
Keys return all the keys in cmap
Len returns the number of items in a set.
Set maps the given key and value.
Return false if the key is already in the map.
Values return all the values in cmap
Source Files
¶
Click to show internal directories.
Click to hide internal directories.