Documentation ¶
Overview ¶
为什么 chan 的零值是 nil ? https://medium.com/justforfunc/why-are-there-nil-channels-in-go-9877cc0b2308 结合 空对象模式 理解,让零值也有意义 源码:https://github.com/campoy/justforfunc/blob/master/26-nil-chans/main.go
Click to show internal directories.
Click to hide internal directories.