From a41bd206c983c0ccca4e71a5f9a071c5b23ce0b4 Mon Sep 17 00:00:00 2001
From: Eli Bendersky
Date: Mon, 13 Jan 2020 13:55:24 -0800
Subject: [PATCH] Fix typo in a comment of the context example
Fixes #317
---
examples/context/context.go | 2 +-
examples/context/context.hash | 4 ++--
public/context | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
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.
- 
+ 
@@ -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
|