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