From 1a5e07d1ff72da30f660d3c95b312a20be31173c Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Sat, 21 Sep 2019 01:57:38 +0000 Subject: [PATCH] websocket: Add nhooyr.io/websocket to the deprecation message My library is a well maintained alternative as well and is easier to transition to thanks to the [NetConn](https://godoc.org/nhooyr.io/websocket#NetConn) wrapper. Updates https://github.com/golang/go/issues/18152 Change-Id: Iff9addebcee4f39dbd9f015d0fbe7613e4ee45dd GitHub-Last-Rev: 0ae267b16a2b3368a4339ca8cec4c7a347e8d62d GitHub-Pull-Request: golang/net#51 Reviewed-on: https://go-review.googlesource.com/c/net/+/193217 Reviewed-by: Brad Fitzpatrick --- websocket/websocket.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/websocket/websocket.go b/websocket/websocket.go index 1f4f7be4..6c45c735 100644 --- a/websocket/websocket.go +++ b/websocket/websocket.go @@ -5,11 +5,11 @@ // Package websocket implements a client and server for the WebSocket protocol // as specified in RFC 6455. // -// This package currently lacks some features found in an alternative -// and more actively maintained WebSocket package: +// This package currently lacks some features found in alternative +// and more actively maintained WebSocket packages: // // https://godoc.org/github.com/gorilla/websocket -// +// https://godoc.org/nhooyr.io/websocket package websocket // import "golang.org/x/net/websocket" import (