From 7823e44fc9634d6859460b59122e51082030efdf Mon Sep 17 00:00:00 2001 From: szTheory Date: Sat, 13 Jun 2020 12:42:00 +0000 Subject: [PATCH] Update timeouts.go: Fix typo --- examples/timeouts/timeouts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/timeouts/timeouts.go b/examples/timeouts/timeouts.go index 3f25aec..be5de76 100644 --- a/examples/timeouts/timeouts.go +++ b/examples/timeouts/timeouts.go @@ -25,7 +25,7 @@ func main() { }() // Here's the `select` implementing a timeout. - // `res := <-c1` awaits the result and `<-Time.After` + // `res := <-c1` awaits the result and `<-time.After` // awaits a value to be sent after the timeout of // 1s. Since `select` proceeds with the first // receive that's ready, we'll take the timeout case