From 26e8fd1165b3f39871694b24ebdee0acb6e28224 Mon Sep 17 00:00:00 2001 From: showlovel Date: Wed, 13 Nov 2013 17:06:04 +0800 Subject: [PATCH] fix error of GOPATH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit export $GOPATH 应为 export GOPATH --- eBook/02.3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eBook/02.3.md b/eBook/02.3.md index 8b6617c..14eec9b 100644 --- a/eBook/02.3.md +++ b/eBook/02.3.md @@ -22,7 +22,7 @@ 在开发 Go 项目时,你还需要一个环境变量来保存你的工作目录。 - export $GOPATH=$HOME/Applications/Go + export GOPATH=$HOME/Applications/Go `$GOPATH` 可以包含多个工作目录,取决于你的个人情况。如果你设置了多个工作目录,那么当你在之后使用 `go get` (远程包安装命令)时远程包将会被安装在第一个目录下。 @@ -149,4 +149,4 @@ ##链接 - [目录](directory.md) - 上一节:[Go 环境变量](02.2.md) -- 下一节:[在 Mac OS X 上安装 Go](02.4.md) \ No newline at end of file +- 下一节:[在 Mac OS X 上安装 Go](02.4.md)