uuidSet is a set of UUIDs. Safe for concurrent usage. The zero value can be used.
| 196 | // uuidSet is a set of UUIDs. Safe for concurrent usage. |
| 197 | // The zero value can be used. |
| 198 | type uuidSet struct { |
| 199 | l sync.Mutex |
| 200 | m map[uuid.UUID]struct{} |
| 201 | } |
| 202 | |
| 203 | func (s *uuidSet) Add(id uuid.UUID) { |
| 204 | s.l.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected