Categorygithub.com/aneshas/eventstore
repositorypackage
1.0.0
Repository: https://github.com/aneshas/eventstore.git
Documentation: pkg.go.dev

# README

Go EventStore

Go Coverage Status Go Report Card

Embeddable EventStore implementation written in Go using gorm as an underlying persistence mechanism meaning it will work with almost (tested sqlite and postgres) whatever underlying database gorm will support (just use the respective gorm driver).

Features

  • Appending (saving) events to a particular stream
  • Reading events from the stream
  • Reading all events
  • Subscribing (streaming) all events from the event store (real-time)
  • Fault-tolerant projection system (Projector)

Upcoming

Add offset handling and retry mechanism to the default Projector.

Example

I provided a simple example that showcases basic usage with sqlite.