Documentation ¶
Index ¶
- Variables
- type InMemory
- func (repo *InMemory) Delete(_ context.Context, agg aggregate.Aggregate[string]) error
- func (repo *InMemory) Exists(_ context.Context, agg aggregate.Aggregate[string]) (bool, error)
- func (repo *InMemory) ExistsVersion(_ context.Context, agg aggregate.Aggregate[string], version aggregate.Version) (bool, error)
- func (repo *InMemory) Load(_ context.Context, agg aggregate.Aggregate[string]) error
- func (repo *InMemory) LoadVersion(_ context.Context, agg aggregate.Aggregate[string], version aggregate.Version) error
- func (repo *InMemory) Save(_ context.Context, agg aggregate.Aggregate[string]) error
- func (repo *InMemory) Search(_ context.Context, opts ...aggregate.SearchOption) ([]aggregate.Aggregate[string], error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidAggregateChangeID = errors.New("invalid aggregate change id")
)
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.