Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterAggregate ¶
FilterAggregate filters events and returns only those that belong to the Aggregate a.
Types ¶
type MakeOption ¶
type MakeOption func(*makeConfig)
MakeOption is an option for Make.
func ForAggregate ¶
func ForAggregate(as ...aggregate.Aggregate) MakeOption
ForAggregate returns a MakeOption that sets the aggregate for events returne by Make.
func SkipVersion ¶
func SkipVersion(v ...int) MakeOption
SkipVersion returns a MakeOption that emulates a consistency error by skipping the specified aggregate versions when creating the events. This option only has an effect when used together with ForAggregate.
Click to show internal directories.
Click to hide internal directories.