windows go环境 环境变量 GOROOT = C:\Go\ Path = C:\Go\bin GOPATH = D:\goproject 工作目录 , go项目的工作路径 linux go环境 安装配置 wget https://studygolang.com/dl/golang/go1.9.2.linux-amd64.tar.gz tar xf go1.9.2.linux-amd64.tar.gz -C /usr/local/ vim /etc/profile.d/go.sh export GOROOT=/usr/local/go export PATH=