(items []string)
| 457 | } |
| 458 | |
| 459 | func filterEmpty(items []string) []string { |
| 460 | out := make([]string, 0, len(items)) |
| 461 | for _, item := range items { |
| 462 | item = strings.TrimSpace(item) |
| 463 | if item == "" { |
| 464 | continue |
| 465 | } |
| 466 | out = append(out, item) |
| 467 | } |
| 468 | return out |
| 469 | } |
| 470 | |
| 471 | func cloneStringSet(in map[string]struct{}) map[string]struct{} { |
| 472 | out := make(map[string]struct{}, len(in)) |
no outgoing calls
no test coverage detected
searching dependent graphs…