mirror of
https://github.com/SamyRai/tercul-backend.git
synced 2025-12-27 04:01:34 +00:00
This commit isolates the `Work` aggregate into its own package at `internal/domain/work`, following the first step of the refactoring plan in `refactor.md`. - The `Work` struct, related types, and the `WorkRepository` interface have been moved to the new package. - A circular dependency between `domain` and `work` was resolved by moving the `AnalyticsRepository` to the `app` layer. - All references to the moved types have been updated across the entire codebase to fix compilation errors. - Test files, including mocks and integration tests, have been updated to reflect the new structure. |
||
|---|---|---|
| .. | ||
| integration_test_utils.go | ||
| mock_analytics_service.go | ||
| mock_base_repository.go | ||
| mock_jwt_manager.go | ||
| mock_like_repository.go | ||
| mock_like_service.go | ||
| mock_translation_repository.go | ||
| mock_user_repository.go | ||
| mock_weaviate_wrapper.go | ||
| mock_work_repository.go | ||
| simple_test_utils.go | ||
| test_entity.go | ||
| testutil.go | ||