瀏覽代碼

fixed typo in comment

Christian Stefanescu 11 年之前
父節點
當前提交
0a52d61198
共有 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)