소스 검색

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)