(value string)
| 29 | } |
| 30 | |
| 31 | func (s *stringSet) Remove(value string) { |
| 32 | if !s.Contains(value) { |
| 33 | return |
| 34 | } |
| 35 | delete(s.m, value) |
| 36 | s.v = sliceWithout(s.v, value) |
| 37 | } |
| 38 | |
| 39 | func sliceWithout(s []string, v string) []string { |
| 40 | idx := -1 |
no test coverage detected