gofmt
This commit is contained in:
parent
fcab073de6
commit
327bfe6520
@ -14,8 +14,8 @@ func main() {
|
|||||||
c2 := make(chan string)
|
c2 := make(chan string)
|
||||||
|
|
||||||
// Each channel will receive a value after some amount
|
// Each channel will receive a value after some amount
|
||||||
// of time, to simulate e.g. blocking RPC operations
|
// of time, to simulate e.g. blocking RPC operations
|
||||||
// executing in concurrent goroutines.
|
// executing in concurrent goroutines.
|
||||||
go func() {
|
go func() {
|
||||||
time.Sleep(time.Second * 1)
|
time.Sleep(time.Second * 1)
|
||||||
c1 <- "one"
|
c1 <- "one"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user