added readme and package-level comments

This commit is contained in:
pippellia-btc
2025-06-11 16:26:22 +02:00
parent 9450150171
commit 15fd14dc01
5 changed files with 35 additions and 1 deletions

View File

@@ -18,6 +18,12 @@ import (
"github.com/vertex-lab/relay/pkg/eventstore"
)
/*
This programs assumes syncronization between Redis and the event store, meaning
that the graph in Redis reflects these events.
If that is not the case, go run /cmd/sync/ to syncronize Redis with the event store.
*/
func main() {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()