文件名称:chanx:Go频道周围的简单界面包装
文件大小:4KB
文件格式:ZIP
更新时间:2024-05-03 05:07:45
Go
x Go通道周围的简单接口包装。 // Make new channel. Provide a length to make a buffered channel. func Make ( length int ) C type C interface { // Send a messge to the channel. Returns false if the channel is closed. Send ( v interface {}) ( ok bool ) // Recv a messge from the channel. Returns false if the channel is closed. Recv () ( v interface {}, ok bool ) // Close the channel. Returns false if the ch
【文件预览】:
chanx-master
----LICENSE(1KB)
----.github()
--------workflows()
----README.md(854B)
----chanx_test.go(5KB)
----chanx.go(1KB)