Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix indentation in README.md
  • Loading branch information
hallgren authored Mar 10, 2021
1 parent 62e0218 commit ff24134
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ type Event struct {
AggregateID string
// the aggregate version when this event was created
Version Version
// the global version is based on all events (this value is only set after the event is saved to the event store)
GlobalVersion Version
// the global version is based on all events (this value is only set after the event is saved to the event store)
GlobalVersion Version
// name of the event (Born / AgedOneYear in the example above)
Reason string
// aggregate type (Person in the example above)
Expand Down Expand Up @@ -293,7 +293,7 @@ A custom-made event store has to implement the following functions to fulfill th

```go
type EventStore interface {
// The returned Version is the last events global version stored to the event store
// The returned Version is the last events global version stored to the event store
Save(events []Event) (Version, error)
Get(id string, aggregateType string, afterVersion Version) ([]Event, error)
}
Expand Down

0 comments on commit ff24134

Please sign in to comment.