Files
eleith 61e57243e3 build: verify and fix Phase 1 configuration architecture
This commit stabilizes the 'Multi-Digest Architecture' feature (Phase 1).

Changes:
- Fix mocks in 'internal/app' and 'internal/testutil' to match new EmailService interface.
- Update 'ProcessDigest' calls in tests to respect new 'Digests' config slice.
- Update 'internal/config' tests to satisfy stricter validation rules (added missing 'host', 'view' fields).
- Verify 'Slugify' utility is present and tested.

Result:
- 'make lint', 'make test', and 'make build' now pass.
- The project is ready for Phase 2 (Filter Engine).
2025-12-16 09:25:05 -08:00

12 lines
302 B
Go

package services
import (
"miniflux-digest/internal/config"
"miniflux-digest/internal/models"
"os"
)
type EmailService interface {
Send(smtpConfig config.ConfigSmtp, digestConfig config.ConfigDigest, overviewFile *os.File, groupedEntryFiles []*os.File, data *models.OverviewTemplateData) error
}