ch10: fix code path

This commit is contained in:
chai2010
2016-01-20 23:08:50 +08:00
parent c683de9b81
commit 442dd58ee4
2 changed files with 2 additions and 3 deletions

View File

@@ -69,9 +69,8 @@ $ go run quoteargs.go one "two three" four\ five
針對不同操作繫統或CPU的交叉構建也是很簡單的。隻需要設置好目標對應的GOOS和GOARCH然後運行構建命令卽可。下面交叉編譯的程序將輸出它在編譯時操作繫統和CPU類型
<u><i>gopl.io/ch10/cross</i></u>
```Go
gopl.io/ch10/cross
func main() {
fmt.Println(runtime.GOOS, runtime.GOARCH)
}