nsqio / go-nsq

The official Go package for NSQ
MIT License
2.59k stars 444 forks source link

Add high-level godoc for publisher and consumer #271

Closed skateinmars closed 4 years ago

skateinmars commented 4 years ago

This PR adds a doc.go file that acts as a small HOWTO.

With this change the go doc will display examples of a consumer and producer at the top of the documentation.