Fix tabs in overview examples.

This commit is contained in:
Gary Burd 2013-12-20 15:57:02 -08:00
parent 9cdec41bda
commit 5625e8a51f
1 changed files with 8 additions and 8 deletions

16
doc.go
View File

@ -11,14 +11,14 @@
// Conn: // Conn:
// //
// func handler(w http.ResponseWriter, r *http.Request) { // func handler(w http.ResponseWriter, r *http.Request) {
// ws, err := websocket.Upgrade(w, r, nil, 1024, 1024) // ws, err := websocket.Upgrade(w, r, nil, 1024, 1024)
// if _, ok := err.(websocket.HandshakeError); ok { // if _, ok := err.(websocket.HandshakeError); ok {
// http.Error(w, "Not a websocket handshake", 400) // http.Error(w, "Not a websocket handshake", 400)
// return // return
// } else if err != nil { // } else if err != nil {
// log.Println(err) // log.Println(err)
// return // return
// } // }
// ... Use conn to send and receive messages. // ... Use conn to send and receive messages.
// } // }
// //