Преглед на файлове

Merge pull request #40 from stchris/patch-1

fixed typo in comment
Gary Burd преди 11 години
родител
ревизия
a6f041ac33
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      examples/chat/conn.go

+ 1 - 1
examples/chat/conn.go

@@ -88,7 +88,7 @@ func (c *connection) writePump() {
 	}
 }
 
-// serverWs handles webocket requests from the peer.
+// serverWs handles websocket requests from the peer.
 func serveWs(w http.ResponseWriter, r *http.Request) {
 	if r.Method != "GET" {
 		http.Error(w, "Method not allowed", 405)