From 00e3d722d95a1d7eaf71f5ebfd78a2c23ba87d76 Mon Sep 17 00:00:00 2001 From: Eric Bower Date: Wed, 2 Oct 2024 22:41:22 -0400 Subject: [PATCH] chore: rm cfg struct --- pubsub.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pubsub.go b/pubsub.go index cb2dcb0..2a6c645 100644 --- a/pubsub.go +++ b/pubsub.go @@ -4,7 +4,6 @@ import ( "context" "io" "iter" - "log/slog" ) type PubSub interface { @@ -16,8 +15,3 @@ type PubSub interface { Sub(ctx context.Context, ID string, rw io.ReadWriter, channels []*Channel, keepAlive bool) error Pub(ctx context.Context, ID string, rw io.ReadWriter, channels []*Channel) error } - -type Cfg struct { - Logger *slog.Logger - PubSub PubSub -}