(value string, terms ...string)
| 495 | } |
| 496 | |
| 497 | func containsAny(value string, terms ...string) bool { |
| 498 | for _, term := range terms { |
| 499 | if strings.Contains(value, term) { |
| 500 | return true |
| 501 | } |
| 502 | } |
| 503 | return false |
| 504 | } |
| 505 | |
| 506 | func prettifyAssessmentKind(kind string) string { |
| 507 | switch kind { |