Insert adds items to the set.
(items ...string)
| 47 | |
| 48 | // Insert adds items to the set. |
| 49 | func (s String) Insert(items ...string) { |
| 50 | for _, item := range items { |
| 51 | s[item] = Empty{} |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | // Delete removes all items from the set. |
| 56 | func (s String) Delete(items ...string) { |
no outgoing calls
no test coverage detected