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> |
||
|---|---|---|
| .. | ||
| template | ||
| create.go | ||
| driver.go | ||
| driver_unsupported.go | ||
| driver_unsupported_nocgo.go | ||
| exec.go | ||
| info.go | ||
| init.go | ||
| utils.go | ||