(slice []string, item string)
| 906 | } |
| 907 | |
| 908 | func containsString(slice []string, item string) bool { |
| 909 | for _, s := range slice { |
| 910 | if s == item { |
| 911 | return true |
| 912 | } |
| 913 | } |
| 914 | return false |
| 915 | } |
| 916 | |
| 917 | func containsSearchText(event *AuditEvent, searchText string) bool { |
| 918 | searchLower := strings.ToLower(searchText) |
no outgoing calls
no test coverage detected