package work import ( "tercul/internal/domain" "tercul/internal/domain/search" ) // Service is the application service for the work aggregate. type Service struct { Commands *WorkCommands Queries *WorkQueries } // NewService creates a new work Service. func NewService(repo domain.WorkRepository, searchClient search.SearchClient) *Service { return &Service{ Commands: NewWorkCommands(repo, searchClient), Queries: NewWorkQueries(repo), } }