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_test.go | 1 - 1 file changed, 1 deletion(-) (limited to 'internal/batch/processor_test.go') diff --git a/internal/batch/processor_test.go b/internal/batch/processor_test.go index 4ec1739..85171d8 100644 --- a/internal/batch/processor_test.go +++ b/internal/batch/processor_test.go @@ -165,4 +165,3 @@ func TestReadBatchFile_FileNotFound(t *testing.T) { t.Error("Expected error for non-existent file") } } - -- cgit v1.2.3