Insert inserts `val` into `s`.
(val string)
| 40 | |
| 41 | // Insert inserts `val` into `s`. |
| 42 | func (s StringSet) Insert(val string) { |
| 43 | s[val] = struct{}{} |
| 44 | } |
| 45 | |
| 46 | // Intersection returns the intersection of two sets |
| 47 | func (s StringSet) Intersection(rhs StringSet) StringSet { |
no outgoing calls