(lower string, patterns ...string)
| 132 | } |
| 133 | |
| 134 | func containsAny(lower string, patterns ...string) bool { |
| 135 | for _, pattern := range patterns { |
| 136 | if strings.Contains(lower, pattern) { |
| 137 | return true |
| 138 | } |
| 139 | } |
| 140 | return false |
| 141 | } |
no test coverage detected