From 1b4fbb865d4944a602b27e24e8123a57095e9987 Mon Sep 17 00:00:00 2001 From: vyzo Date: Sat, 5 May 2018 09:48:28 +0300 Subject: [PATCH] fix NewPubsub docstring --- pubsub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubsub.go b/pubsub.go index 2e33315..4d5415a 100644 --- a/pubsub.go +++ b/pubsub.go @@ -133,7 +133,7 @@ type RPC struct { type Option func(*PubSub) error -// NewFloodSub returns a new PubSub management object +// NewPubSub returns a new PubSub management object func NewPubSub(ctx context.Context, h host.Host, rt PubSubRouter, opts ...Option) (*PubSub, error) { ps := &PubSub{ host: h,