package author import "tercul/internal/domain" // Service is the application service for the author aggregate. type Service struct { Commands *AuthorCommands Queries *AuthorQueries } // NewService creates a new author Service. func NewService(repo domain.AuthorRepository) *Service { return &Service{ Commands: NewAuthorCommands(repo), Queries: NewAuthorQueries(repo), } }