(in map[string]struct{})
| 469 | } |
| 470 | |
| 471 | func cloneStringSet(in map[string]struct{}) map[string]struct{} { |
| 472 | out := make(map[string]struct{}, len(in)) |
| 473 | for k := range in { |
| 474 | out[k] = struct{}{} |
| 475 | } |
| 476 | return out |
| 477 | } |
| 478 | |
| 479 | func normalizeUnique(values []string) []string { |
| 480 | set := make(map[string]struct{}, len(values)) |
no outgoing calls
no test coverage detected
searching dependent graphs…