Skip to content

Commit

Permalink
cleanup io stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
renatillas committed Jan 18, 2025
1 parent 092deed commit a5cfa71
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/eventsourcing_postgres.gleam
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import eventsourcing
import gleam/bool
import gleam/dynamic
import gleam/int
import gleam/io
import gleam/json
import gleam/list
import gleam/pair
Expand Down Expand Up @@ -198,13 +196,6 @@ fn commit(
let wrapped_events =
wrap_events(postgres_store, aggregate_id, events, sequence, metadata)
persist_events(postgres_store, wrapped_events)
io.println(
"storing: "
<> wrapped_events |> list.length |> int.to_string
<> " events for Aggregate ID '"
<> aggregate_id
<> "'",
)
wrapped_events
}

Expand Down

0 comments on commit a5cfa71

Please sign in to comment.