Event Horizon PubSub contains the GCP PubSub driver for Event Horizon a CQRS/ES toolkit for Go.
See the Event Horizon example folder for a few examples to get you started and replace the storage drivers (event store and/or repo)
To develop Event Horizon PubSub you need to have Docker and Docker Compose installed.
To start all needed services and run all tests, simply run make:
make
To manually run the services and stop them:
make services
make stop
When the services are running testing can be done either locally or with Docker:
make test
make test_docker
go test ./...