Commit 2046597
committed
refactor(core): restructure architecture for better maintainability
- Consolidate interface definitions into common.go for unified structure
- Merge OCR engine implementations into single engines.go file
- Consolidate utility functions from multiple files into filemanager.go and fileutils.go
- Streamline configuration management with environment variable overrides
- Enhance cross-platform compatibility and path handling
- Improve validation for input/output paths and file operations
- Implement two-tier logging system with critical vs detailed progress tracking
- Change CLI parameter from --llm_template to --llm-template for consistency
- Update documentation and dependency management
BREAKING CHANGE: Command-line parameter --llm_template renamed to --llm-template1 parent 4230f1b commit 2046597
37 files changed
Lines changed: 2084 additions & 3435 deletions
File tree
- cmd
- pkg
- config
- constants
- core
- interfaces
- logger
- ocr
- engines
- providers
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments