Skip to content

Commit 1b37ccb

Browse files
committed
Fix small inconsistency in example.
1 parent 9233466 commit 1b37ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// Conn:
1212
//
1313
// func handler(w http.ResponseWriter, r *http.Request) {
14-
// ws, err := websocket.Upgrade(w, r, nil, 1024, 1024)
14+
// conn, err := websocket.Upgrade(w, r, nil, 1024, 1024)
1515
// if _, ok := err.(websocket.HandshakeError); ok {
1616
// http.Error(w, "Not a websocket handshake", 400)
1717
// return

0 commit comments

Comments
 (0)