Skip to content

Commit 1d811ac

Browse files
committed
Merge pull request astaxie#301 from mikulely/patch-4
环境变量名采用大写形式
2 parents c90f4ff + b013829 commit 1d811ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebook/02.3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ Go程序会自动调用`init()`和`main()`,所以你不需要在任何地方
468468

469469
fmt.Println("hello world")
470470

471-
上面这个fmt是Go语言的标准库,其实是去goroot下去加载该模块,当然Go的import还支持如下两种方式来加载自己写的模块:
471+
上面这个fmt是Go语言的标准库,其实是去`GOROOT`环境变量指定目录下去加载该模块,当然Go的import还支持如下两种方式来加载自己写的模块:
472472

473473
1. 相对路径
474474

0 commit comments

Comments
 (0)