diff --git a/examples/timeouts/timeouts.sh b/examples/timeouts/timeouts.sh index 8a9dfb4..3c4344f 100644 --- a/examples/timeouts/timeouts.sh +++ b/examples/timeouts/timeouts.sh @@ -3,9 +3,3 @@ $ go run timeouts.go timeout 1 result 2 - -# Using this `select` timeout pattern requires -# communicating results over channels. This is a good -# idea in general because other important Go features are -# based on channels and `select`. We'll look at two -# examples of this next: timers and tickers. diff --git a/public/timeouts b/public/timeouts index 532dbc0..8142985 100644 --- a/public/timeouts +++ b/public/timeouts @@ -156,7 +156,7 @@ from c2 will succeed and we’ll print the result.

out and the second succeeding.

- +
$ go run timeouts.go 
 timeout 1
@@ -166,21 +166,6 @@ out and the second succeeding.

- - -

Using this select timeout pattern requires -communicating results over channels. This is a good -idea in general because other important Go features are -based on channels and select. We’ll look at two -examples of this next: timers and tickers.

- - - - - - - - @@ -194,7 +179,7 @@ examples of this next: timers and tickers.