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

Merge pull request #82 from heppu/master

Small typo fix in comment
Gary Burd преди 10 години
родител
ревизия
00ae02c5f5
променени са 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 websocket requests from the peer.
+// serveWs 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)