From f6a6b7258c29a44c3b3af4b68ab9a25872e6141f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Mon, 24 Apr 2023 14:10:35 +0800 Subject: [PATCH] Fix server context --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 657ff75..a805254 100644 --- a/server.go +++ b/server.go @@ -31,7 +31,7 @@ func HandleConnection(ctx context.Context, handler ServerHandler, logger logger. return err } var group task.Group - group.Append0(func(ctx context.Context) error { + group.Append0(func(_ context.Context) error { var stream net.Conn for { stream, err = session.Accept()