Versions in this module Expand all Collapse all v0 v0.0.1 Jan 20, 2018 Changes in this version + var ErrCouldNotSaveAggregate = errors.New("could not save aggregate") + type EventStore struct + func NewEventStore() *EventStore + func (s *EventStore) Load(ctx context.Context, id eh.UUID) ([]eh.Event, error) + func (s *EventStore) RenameEvent(ctx context.Context, from, to eh.EventType) error + func (s *EventStore) Replace(ctx context.Context, event eh.Event) error + func (s *EventStore) Save(ctx context.Context, events []eh.Event, originalVersion int) error