Introduce ProcessDelete method in database package; update go.mod with database.orly module replacements across packages

This commit is contained in:
2025-09-06 08:38:06 +01:00
parent b76b63c9ac
commit 5a640e7502
6 changed files with 87 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ import (
"strings"
"encoders.orly/envelopes/eventenvelope"
"encoders.orly/kind"
"lol.mleku.dev/chk"
"lol.mleku.dev/log"
utils "utils.orly"
@@ -53,6 +54,10 @@ func (l *Listener) HandleEvent(c context.Context, msg []byte) (
return
}
return
}
// if the event is a delete, process the delete
if env.E.Kind == kind.EventDeletion.K {
}
// check if the event was deleted
//