mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 03:06:41 +08:00
Fix a variable spelling mistake. (#563)
This commit is contained in:
@@ -551,7 +551,7 @@ func sink(ch <-chan int) {
|
|||||||
|
|
||||||
```go
|
```go
|
||||||
sendChan := make(chan int)
|
sendChan := make(chan int)
|
||||||
reciveChan := make(chan string)
|
receiveChan := make(chan string)
|
||||||
go processChannel(sendChan, receiveChan)
|
go processChannel(sendChan, receiveChan)
|
||||||
|
|
||||||
func processChannel(in <-chan int, out chan<- string) {
|
func processChannel(in <-chan int, out chan<- string) {
|
||||||
|
Reference in New Issue
Block a user