测试关闭,接收关闭通道 package main import "os" var failed bool type Chan interface { Send(int) Nbsend(int) bool