Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompanyService ¶
type CompanyService struct {
// contains filtered or unexported fields
}
func NewCompanyService ¶
func NewCompanyService(eventPublisher domain.EventPublisher, eventStore domain.EventStore) *CompanyService
func (*CompanyService) ChangeCompanyName ¶
func (*CompanyService) CreateCompany ¶
func (c *CompanyService) CreateCompany(name string) (err error, newCompany *domain.Company)
Click to show internal directories.
Click to hide internal directories.