fix code formatting

This commit is contained in:
Dmitry Harnitski
2017-04-19 00:24:15 -04:00
committed by GitHub
parent bf16d4b216
commit 418314e4d1

View File

@@ -61,7 +61,7 @@ goroutines run in the same memory address space, so you have to maintain synchro
cf := make(chan interface{})
```
channel uses the operator `<-` to send or receive data.
```Go`
```Go
ch <- v // send v to channel ch.
v := <-ch // receive data from ch, and assign to v
```