Remove deletes a key from the set.
(key interface{})
| 22 | |
| 23 | // Remove deletes a key from the set. |
| 24 | func (s *syncSet) Remove(key interface{}) { |
| 25 | s.underlying.Delete(key) |
| 26 | } |
| 27 | |
| 28 | // Range allows iterating over the set. Deleting the key while iterating is a supported operation. |
| 29 | func (s *syncSet) Range(callback func(key interface{}) bool) { |