Contains returns true if a given key exists in the set.
(key []byte)
| 15 | |
| 16 | // Contains returns true if a given key exists in the set. |
| 17 | func (s *Set) Contains(key []byte) bool { |
| 18 | return s.inner.Contains(key) |
| 19 | } |
| 20 | |
| 21 | // Close releases resources associated with the set. |
| 22 | func (s *Set) Close(ctx context.Context) { |
no outgoing calls