diff --git a/examples/chat/conn.go b/examples/chat/conn.go index 7cc0496..ae25b75 100644 --- a/examples/chat/conn.go +++ b/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)