package work import ( "tercul/internal/domain/search" "tercul/internal/domain/work" ) // 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 work.WorkRepository, searchClient search.SearchClient) *Service { return &Service{ Commands: NewWorkCommands(repo, searchClient), Queries: NewWorkQueries(repo), } }