mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 12:32:21 +00:00
ch1-5:文字修改
This commit is contained in:
parent
5fd53adf54
commit
bc5c5d0ed6
@ -267,7 +267,7 @@ Go程序的初始化和执行总是从`main.main`函数开始的。但是如果`
|
|||||||
|
|
||||||
## Goroutine的创建
|
## Goroutine的创建
|
||||||
|
|
||||||
`go`语句会在当前Goroutine对应函数开始执行前启动新的Goroutine. 例如:
|
`go`语句会在当前Goroutine对应函数返回前创建新的Goroutine. 例如:
|
||||||
|
|
||||||
|
|
||||||
```go
|
```go
|
||||||
|
Loading…
x
Reference in New Issue
Block a user