Skip to content

Commit

Permalink
chore: rm print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Sep 8, 2024
1 parent ef752e0 commit d8e7898
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions multicast.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package pubsub

import (
"fmt"
"io"
"log/slog"

Expand Down Expand Up @@ -90,7 +89,6 @@ func (b *PubSubMulticast) Pub(msg *Msg) error {
if err != nil {
log.Error("pub", "err", err)
}
fmt.Println(len(matches))
for _, sub := range matches {
sub.Chan <- err
log.Info("sub unsub")
Expand Down
2 changes: 0 additions & 2 deletions pubsub.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package pubsub

import (
"fmt"
"io"
"log/slog"
)
Expand All @@ -14,7 +13,6 @@ type Subscriber struct {
}

func (s *Subscriber) Wait() error {
fmt.Println("wwww")
err := <-s.Chan
return err
}
Expand Down

0 comments on commit d8e7898

Please sign in to comment.