From fd8f332bee8eb4fe8822f233a111bd13846a8405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20D=C3=B8rum?= Date: Sun, 28 May 2023 13:47:06 +0200 Subject: [PATCH 1/2] websocket: Clarify the status of the package as retired --- websocket/websocket.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/websocket/websocket.go b/websocket/websocket.go index 90a2257cd5..c8e184b4f6 100644 --- a/websocket/websocket.go +++ b/websocket/websocket.go @@ -5,8 +5,9 @@ // 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 is retired. It is stll around in order to avoid breaking +// existing projects, but it is not actively maintained. +// Use an alternative an more actively maintained WebSocket package instead: // // https://pkg.go.dev/nhooyr.io/websocket package websocket // import "golang.org/x/net/websocket" From 9955341af2dd97149d343db490ab50f4b8bb0b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20D=C3=B8rum?= Date: Mon, 24 Jul 2023 19:10:25 +0200 Subject: [PATCH 2/2] websocket: Direct people towards gorilla/websocket again --- websocket/websocket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket/websocket.go b/websocket/websocket.go index c8e184b4f6..d3733cc856 100644 --- a/websocket/websocket.go +++ b/websocket/websocket.go @@ -9,7 +9,7 @@ // existing projects, but it is not actively maintained. // Use an alternative an more actively maintained WebSocket package instead: // -// https://pkg.go.dev/nhooyr.io/websocket +// https://godoc.org/github.com/gorilla/websocket package websocket // import "golang.org/x/net/websocket" import (