mirror of
https://github.com/SamyRai/tercul-backend.git
synced 2025-12-27 00:31:35 +00:00
23 lines
695 B
Go
23 lines
695 B
Go
package app
|
|
|
|
import (
|
|
"tercul/internal/app/auth"
|
|
"tercul/internal/app/copyright"
|
|
"tercul/internal/app/localization"
|
|
"tercul/internal/app/search"
|
|
"tercul/internal/app/work"
|
|
)
|
|
|
|
// Application is a container for all the application-layer services.
|
|
// It's used for dependency injection into the presentation layer (e.g., GraphQL resolvers).
|
|
type Application struct {
|
|
AuthCommands *auth.AuthCommands
|
|
AuthQueries *auth.AuthQueries
|
|
CopyrightCommands *copyright.CopyrightCommands
|
|
CopyrightQueries *copyright.CopyrightQueries
|
|
Localization localization.Service
|
|
Search search.IndexService
|
|
WorkCommands *work.WorkCommands
|
|
WorkQueries *work.WorkQueries
|
|
}
|