Fix up README.md for command example.

This commit is contained in:
Aleksandr Andrienko 2016-12-27 15:04:14 +02:00 committed by GitHub
parent 3ab3a8b883
commit 0e7877a5a1
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`