/case<-ctx.Done()://returnctx.Err()//caseout<-v://}//}//}////有关如何使用的更多示例,请参阅https://blog.golang.org/pipelines