fix type: flag.Pars() => flag.Parse() (#269)

This commit is contained in:
Daniel Lv
2016-08-02 23:33:46 +08:00
committed by 无闻
parent 62da6a89ab
commit 23935f6f12

View File

@@ -68,7 +68,7 @@ Go 的并发原语提供了良好的并发设计基础:表达程序结构以
var numCores = flag.Int("n", 2, "number of CPU cores to use")
in main()
flag.Pars()
flag.Parse()
runtime.GOMAXPROCS(*numCores)
```