开发环境linux
sudo vi /root/.bashrc
环境配置:
export PATH=/usr/local/go/bin:$PATH
export GOROOT=/usr/local/go
export GOPATH=/home/lin/go
export GOBIN=/home/lin/go/bin
配置好之后
执行go install 指令
报错
no install location for directoryutside GOPATH
For more details see: 'go help gopath'
求大佬帮我看看我配置哪里出了问题
有疑问加站长微信联系(非本文作者)