summaryrefslogtreecommitdiff
path: root/internal/image
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-06 10:58:58 +0300
committerPaul Buetow <paul@buetow.org>2026-04-06 10:58:58 +0300
commit23160bce9a18a70080a85dda6e9c654499aba7f7 (patch)
treeec0f9930233aef96a221980310073081679bb4bb /internal/image
parent95dd36d28d18615ad3f8dd7122a404850dcb39f8 (diff)
refactor: remove Viper coupling from processor package (DIP)
Resolve all Viper config values once at startup in cmd/totalrecall/main.go via the new newProcessorConfig() helper. The exported processor.Config struct replaces the internal viperConfig type, and NewProcessor now accepts *Config instead of querying Viper internally. The processor package no longer imports Viper at all. Tests are updated to pass Config values directly, eliminating the viper.Set/Reset boilerplate that coupled tests to the global singleton. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/image')
0 files changed, 0 insertions, 0 deletions