diff --git a/subscribe/redis/redis.go b/subscribe/redis/redis.go index bcca07b..5ce6e6a 100644 --- a/subscribe/redis/redis.go +++ b/subscribe/redis/redis.go @@ -10,12 +10,6 @@ import ( "github.com/gomodule/redigo/redis" ) -func New(conn redis.Conn) subscribe.Subscriber { - return &Subscribers{ - Conn: conn, - } -} - type Subscribers struct { Conn redis.Conn pubSubConn *redis.PubSubConn