pipeline和channel的区别

依然范特西╮ 提交于 2019-11-28 13:33:29

pipeline和channel的区别

在golang中,学到channel时,往往都会产生一些疑惑,和channel的区别是什么?

以下就是区别:

difference channel pipeline
structure streams of a Go type unstructured streams of bytes
platform specific type in golang unix Or unix like
buffer Depending on the circumstances always buffered
features connected between goroutine between two process(std.in/out)

事实上,这两个东西区别还是挺大的,但是用处都很明确,就是通信

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!