Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseEntity ¶
type BaseEntity struct {
// contains filtered or unexported fields
}
func NewBaseEntity ¶
func NewBaseEntity() *BaseEntity
func (*BaseEntity) AddDomainEvent ¶
func (p *BaseEntity) AddDomainEvent(event Event)
func (*BaseEntity) DomainEvents ¶
func (p *BaseEntity) DomainEvents() []Event
func (*BaseEntity) DomainEventsLength ¶
func (p *BaseEntity) DomainEventsLength() int
func (*BaseEntity) HasDomainEvent ¶
func (p *BaseEntity) HasDomainEvent() bool
func (*BaseEntity) LastEvent ¶
func (p *BaseEntity) LastEvent() Event
func (*BaseEntity) PopEvent ¶
func (p *BaseEntity) PopEvent() Event
Click to show internal directories.
Click to hide internal directories.