(category string)
| 123 | } |
| 124 | |
| 125 | func normalizeCodeCommentCategory(category string) string { |
| 126 | normalized := strings.ToLower(category) |
| 127 | if _, ok := validCodeCommentCategories[normalized]; ok { |
| 128 | return normalized |
| 129 | } |
| 130 | return codeCommentCategoryOther |
| 131 | } |
| 132 | |
| 133 | func normalizeCodeCommentSeverity(severity string) string { |
| 134 | normalized := strings.ToLower(severity) |