From 239165afcfe25c028e7d9e16969c423aa3323c19 Mon Sep 17 00:00:00 2001 From: Sunil Joshi <4852488+c0dehu1k@users.noreply.github.com> Date: Mon, 9 Oct 2023 17:33:45 +0530 Subject: [PATCH] Incorporating review comments --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 61644fa..7ea77d0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1439,7 +1439,7 @@ When the response has been written to the client, the context associated with th In the latter case, calling publish will return an error because we returned the HTTP response quickly. -???+ note +???+note From Go 1.21, there is a way to create a new context without cancel. [`context.WithoutCancel`](https://pkg.go.dev/context#WithoutCancel) returns a copy of parent that is not canceled when parent is canceled.