(needle string, haystack []string)
| 489 | } |
| 490 | |
| 491 | func stringInSlice(needle string, haystack []string) bool { |
| 492 | for _, item := range haystack { |
| 493 | if item == needle { |
| 494 | return true |
| 495 | } |
| 496 | } |
| 497 | return false |
| 498 | } |
no outgoing calls
no test coverage detected