(src, excl []string)
| 440 | } |
| 441 | |
| 442 | func exclude(src, excl []string) []string { |
| 443 | var res []string |
| 444 | SRC: |
| 445 | for _, r := range src { |
| 446 | for _, r2 := range excl { |
| 447 | if r2 == r { |
| 448 | continue SRC |
| 449 | } |
| 450 | } |
| 451 | res = append(res, r) |
| 452 | } |
| 453 | return res |
| 454 | } |
| 455 | |
| 456 | func uniq(src []string) []string { |
| 457 | res := make([]string, 0, len(src)) |
no outgoing calls
no test coverage detected