move package declaration after documentation so that it is rendered by godoc

This commit is contained in:
vyzo 2019-01-11 11:47:06 +02:00
parent 11e90ac604
commit 41306ab374
1 changed files with 1 additions and 2 deletions

3
doc.go
View File

@ -1,5 +1,3 @@
package pubsub
// The pubsub package provides facilities for the Publish/Subscribe pattern of message
// propagation, also known as overlay multicast.
// The implementation provides topic-based pubsub, with pluggable routing algorithms.
@ -23,3 +21,4 @@ package pubsub
//
// To subscribe to a topic, use `Subscribe`; this will give you a subscription interface
// from which new messages can be pumped.
package pubsub