goroutine
0 人感兴趣 · 11 次引用
- 最新
- 推荐

goroutine&waitgroup 下载文件
当我们下载一个大文件的时候,会因为下载时间太久而超时或者出错。那么我么我们可以利用goroutine的特性并发分段的去请求下载资源。

Go 语言入门很简单:从 goroutine 出发到并发
goroutine 是 Go 中最基本的组织单位之一,是 Go 支持原生并发最重要的一个功能。

Go 并发编程 -goroutine 初体验
说到 Go 语言,被人讨论最多的就是 Go 很擅长做高并发,并且不需要依赖外部的库,语言本身就支持高并发。