From 678c227061bf7cd82efc4f5045ca319accae3b6b Mon Sep 17 00:00:00 2001 From: asim Date: Fri, 22 Jul 2022 20:11:27 +0100 Subject: [PATCH] remove deprecated function --- micro.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/micro.go b/micro.go index e1c19c03..661fa61c 100644 --- a/micro.go +++ b/micro.go @@ -82,11 +82,6 @@ func NewEvent(topic string, c client.Client) Event { return &event{c, topic} } -// Deprecated: NewPublisher returns a new Publisher -func NewPublisher(topic string, c client.Client) Event { - return NewEvent(topic, c) -} - // RegisterHandler is syntactic sugar for registering a handler func RegisterHandler(s server.Server, h interface{}, opts ...server.HandlerOption) error { return s.Handle(s.NewHandler(h, opts...))