github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/gorilla/websocket/examples/chat/README.md (about) 1 # Chat Example 2 3 This application shows how to use use the 4 [websocket](https://github.com/gorilla/websocket) package and 5 [jQuery](http://jquery.com) to implement a simple web chat application. 6 7 ## Running the example 8 9 The example requires a working Go development environment. The [Getting 10 Started](http://golang.org/doc/install) page describes how to install the 11 development environment. 12 13 Once you have Go up and running, you can download, build and run the example 14 using the following commands. 15 16 $ go get github.com/gorilla/websocket 17 $ cd `go list -f '{{.Dir}}' github.com/gorilla/websocket/examples/chat` 18 $ go run *.go 19 20 To use the chat example, open http://localhost:8080/ in your browser.