(slice []AuditType, item AuditType)
| 888 | } |
| 889 | |
| 890 | func containsAuditType(slice []AuditType, item AuditType) bool { |
| 891 | for _, s := range slice { |
| 892 | if s == item { |
| 893 | return true |
| 894 | } |
| 895 | } |
| 896 | return false |
| 897 | } |
| 898 | |
| 899 | func containsAuditSeverity(slice []AuditSeverity, item AuditSeverity) bool { |
| 900 | for _, s := range slice { |
no outgoing calls
no test coverage detected