我有这个代码,//Theprimesieve:Daisy-chainFilterprocesses.funcmain(){ch:=make(chanint)//Createanewchannel.goGenerate(ch)//LaunchGenerategoroutine.fori:=0;i我想了解channel分配的含义。例如ch=ch1,这是做什么的?深拷贝还是浅拷贝?go对此有何保证?谢谢 最佳答案 channel是一种引用类型。参见“Arechannelspassedbyreferenceimplicitly”。(引用类型