Sharang Parnerkar
3f306fb6f0
refactor(go/handlers): split iace_handler and training_handlers into focused files
iace_handler.go (2706 LOC) split into 9 files:
- iace_handler.go: struct, constructor, shared helpers (~156 LOC)
- iace_handler_projects.go: project CRUD + InitFromProfile (~310 LOC)
- iace_handler_components.go: components + classification (~387 LOC)
- iace_handler_hazards.go: hazard library, CRUD, risk assessment (~469 LOC)
- iace_handler_mitigations.go: mitigations, evidence, verification plans (~293 LOC)
- iace_handler_techfile.go: CE tech file generation/export (~452 LOC)
- iace_handler_monitoring.go: monitoring events + audit trail (~134 LOC)
- iace_handler_refdata.go: ISO 12100 ref data, patterns, suggestions (~465 LOC)
- iace_handler_rag.go: RAG library search + section enrichment (~142 LOC)
training_handlers.go (1864 LOC) split into 9 files:
- training_handlers.go: struct + constructor (~23 LOC)
- training_handlers_modules.go: module CRUD (~226 LOC)
- training_handlers_matrix.go: CTM matrix endpoints (~95 LOC)
- training_handlers_assignments.go: assignment lifecycle (~243 LOC)
- training_handlers_quiz.go: quiz submit/grade/attempts (~185 LOC)
- training_handlers_content.go: LLM content/audio/video generation (~274 LOC)
- training_handlers_media.go: media, streaming, interactive video (~325 LOC)
- training_handlers_blocks.go: block configs + canonical controls (~280 LOC)
- training_handlers_stats.go: deadlines, escalation, audit, certificates (~290 LOC)
All files remain in package handlers. Zero behavior changes. All exported
function names preserved. All files under 500 LOC hard cap.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 09:17:20 +02:00
..
2026-02-26 17:57:15 +01:00
2026-02-11 23:47:28 +01:00
2026-03-06 21:15:02 +01:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-03-16 13:15:31 +01:00
2026-04-19 09:17:20 +02:00
2026-02-11 23:47:28 +01:00
2026-03-06 21:31:14 +01:00
2026-02-11 23:47:28 +01:00
2026-03-22 09:23:23 +01:00
2026-03-16 21:41:48 +01:00
2026-02-11 23:47:28 +01:00
2026-03-05 18:25:26 +01:00
2026-03-11 00:21:50 +01:00
2026-02-11 23:47:28 +01:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-04-19 09:17:20 +02:00
2026-03-16 21:41:48 +01:00
2026-04-19 09:17:20 +02:00
2026-02-11 23:47:28 +01:00
2026-03-03 15:13:42 +01:00
2026-02-13 21:11:27 +01:00
2026-02-11 23:47:28 +01:00