mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2025-08-16 19:31:37 +00:00
ch9: fix code format
This commit is contained in:
@@ -7,8 +7,8 @@ Go的調度器使用了一個叫做GOMAXPROCS的變量來決定會有多少個
|
||||
|
||||
```go
|
||||
for {
|
||||
go fmt.Print(0)
|
||||
fmt.Print(1)
|
||||
go fmt.Print(0)
|
||||
fmt.Print(1)
|
||||
}
|
||||
|
||||
$ GOMAXPROCS=1 go run hacker-cliché.go
|
||||
|
Reference in New Issue
Block a user