From e580fb57a29ec3c3f3e180b20cfa6ec28687689b Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 20 Jul 2025 22:18:57 +0300 Subject: Refactor main.go into focused packages - Reduced main.go from 961 lines to 89 lines (91% reduction) - Created new packages for better separation of concerns: - cli: Command-line interface setup and configuration - processor: Core word processing logic and orchestration - batch: Batch file processing functionality - translation: Bulgarian to English translation services - models: OpenAI model listing functionality - phonetic: Phonetic information fetching - Each package has clear documentation in doc.go files - Improved testability and maintainability - All existing functionality preserved - All tests passing and build successful --- internal/models/doc.go | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 internal/models/doc.go (limited to 'internal/models/doc.go') diff --git a/internal/models/doc.go b/internal/models/doc.go new file mode 100644 index 0000000..116a04a --- /dev/null +++ b/internal/models/doc.go @@ -0,0 +1,4 @@ +// Package models provides functionality for listing and categorizing +// available OpenAI models. It helps users discover which TTS, image +// generation, and chat models are available with their API key. +package models -- cgit v1.2.3