(slice []string, s string)
| 87 | const RecognizeSongBotUsername = "RecognizeSong" |
| 88 | |
| 89 | func stringInSlice(slice []string, s string) bool { |
| 90 | for i := range slice { |
| 91 | if s == slice[i] { |
| 92 | return true |
| 93 | } |
| 94 | } |
| 95 | return false |
| 96 | } |
| 97 | func substringInSlice(s string, slice []string) bool { |
| 98 | for i := range slice { |
| 99 | if strings.Contains(s, slice[i]) { |
no outgoing calls
no test coverage detected