IsEmpty checks if map is empty.
()
| 294 | |
| 295 | // IsEmpty checks if map is empty. |
| 296 | func (slm ShardLockMaps) IsEmpty() bool { |
| 297 | return slm.Count() == 0 |
| 298 | } |
| 299 | |
| 300 | // MGet retrieves multiple elements from the map. |
| 301 | func (slm ShardLockMaps) MGet(keys ...string) map[string]interface{} { |