mirror of https://github.com/docker/docs.git
When working with Go channels you must not set it to nil or else the channel will block forever. It will not panic reading from a nil chan but it blocks. The correct way to do this is to create the channel then close it as the correct results to the caller will be returned. Signed-off-by: Michael Crosby <crosbymichael@gmail.com> |
||
|---|---|---|
| .. | ||
| execdrivers | ||
| lxc | ||
| native | ||
| driver.go | ||
| pipes.go | ||
| termconsole.go | ||
| utils.go | ||