Merge pull request #109 from vially/patch-1

Fix documentation typos
This commit is contained in:
Gary Burd 2016-02-10 16:29:04 -08:00
commit b824a5d853
1 changed files with 3 additions and 4 deletions

3
doc.go
View File

@ -46,8 +46,7 @@
// method to get an io.WriteCloser, write the message to the writer and close // method to get an io.WriteCloser, write the message to the writer and close
// the writer when done. To receive a message, call the connection NextReader // the writer when done. To receive a message, call the connection NextReader
// method to get an io.Reader and read until io.EOF is returned. This snippet // method to get an io.Reader and read until io.EOF is returned. This snippet
// snippet shows how to echo messages using the NextWriter and NextReader // shows how to echo messages using the NextWriter and NextReader methods:
// methods:
// //
// for { // for {
// messageType, r, err := conn.NextReader() // messageType, r, err := conn.NextReader()