From 05bddac137607102f12c1c464db34a1e10707af6 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 6 Apr 2026 10:16:14 +0300 Subject: refactor: decompose Processor god object into focused files (SRP) Extract audio coordination (voice selection, config assembly, attribution writing) into audio_coordinator.go, card directory management into card_store.go, and image downloading/searcher construction into image_downloader.go. processor.go shrinks from ~1119 to ~575 lines, each file now has a single clear responsibility. Also apply go fmt to all touched files. Co-Authored-By: Claude Sonnet 4.6 --- internal/batch/processor.go | 1 - 1 file changed, 1 deletion(-) (limited to 'internal/batch/processor.go') diff --git a/internal/batch/processor.go b/internal/batch/processor.go index 2b002a9..c785a91 100644 --- a/internal/batch/processor.go +++ b/internal/batch/processor.go @@ -103,4 +103,3 @@ func parseBatchLine(line string) *WordEntry { CardType: internal.CardTypeEnBg, } } - -- cgit v1.2.3