diff --git a/examples/context/context.go b/examples/context/context.go index 3971e19..ae51980 100644 --- a/examples/context/context.go +++ b/examples/context/context.go @@ -21,7 +21,7 @@ func hello(w http.ResponseWriter, req *http.Request) { fmt.Println("server: hello handler started") defer fmt.Println("server: hello handler ended") - // Wait for 3 seconds before sending a reply to the + // Wait for a few seconds before sending a reply to the // client. This could simulate some work the server is // doing. While working, keep an eye on the context's // `Done()` channel for a signal that we should cancel diff --git a/examples/context/context.hash b/examples/context/context.hash index 5f6b83c..c4604b6 100644 --- a/examples/context/context.hash +++ b/examples/context/context.hash @@ -1,2 +1,2 @@ -e338acce5d0f64d6478be4b886bd24a0fd1a3afa -Lun5aFco3pX +a9537bfea55bca15d8db1c453e2d9852f9d447e1 +0_bu1o8rIBO diff --git a/public/context b/public/context index f182bbe..3a3a406 100644 --- a/public/context +++ b/public/context @@ -36,7 +36,7 @@ across API boundaries and goroutines.

- +
package main
 
@@ -90,7 +90,7 @@ the Context() method.

-

Wait for 3 seconds before sending a reply to the +

Wait for a few seconds before sending a reply to the client. This could simulate some work the server is doing. While working, keep an eye on the context’s Done() channel for a signal that we should cancel