Goroutine спать и тупик в коде. Как это решить?
http://play.golang.org/p/r92-KtQEGl
Я пытаюсь выполнить этот код. Выдает ошибку тупика.
Что мне не хватает?
package main
import "tour/tree"
import "fmt"
// Walk walks the tree t sending all values
// from the tree to the channel ch.
func Walk(t *tree.Tree, ch chan int){
var temp chan int
ch