This commit is contained in:
Mark McGranaghan 2012-10-11 08:44:37 -07:00
parent fcab073de6
commit 327bfe6520

View File

@ -14,8 +14,8 @@ func main() {
c2 := make(chan string)
// Each channel will receive a value after some amount
// of time, to simulate e.g. blocking RPC operations
// executing in concurrent goroutines.
// of time, to simulate e.g. blocking RPC operations
// executing in concurrent goroutines.
go func() {
time.Sleep(time.Second * 1)
c1 <- "one"