Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Make ¶
func Make(n int, opts ...MakeOption) ( _ []aggregate.Aggregate, getAppliedEvents func(uuid.UUID) []event.Event, )
Make returns n "foo" aggregates and a function to retrieve the applied events for those aggregates.
Types ¶
type MakeOption ¶
type MakeOption func(*makeConfig)
MakeOption is a Make option.
func Name ¶
func Name(name string) MakeOption
Name returns a MakeOption that specifies the aggregateName.
Click to show internal directories.
Click to hide internal directories.