Merge pull request #199 from AndrienkoAleksandr/master

Fix up README.md for command example.
This commit is contained in:
Gary Burd 2016-12-27 09:27:37 -05:00 committed by GitHub
commit 404e6b135d
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
This example connects a websocket connection to stdin and stdout of a command. This example connects a websocket connection to stdin and stdout of a command.
Received messages are written to stdin followed by a `\n`. Each line read from Received messages are written to stdin followed by a `\n`. Each line read from
from standard out is sent as a message to the client. standard out is sent as a message to the client.
$ go get github.com/gorilla/websocket $ go get github.com/gorilla/websocket
$ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/command` $ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/command`