Mac go环境配置

1、安装go,https://golang.google.cn/,下载软件 https://golang.google.cn/dl/ 2、默认安装地址:在隐藏文件夹下 /usr/local/go 3、配置环境变量,GOPATH,GOROOT,GOBIN  cat ~/.bash_profile  export GOPATH="/Users/didi/go" export GOROOT="/usr/
相关文章
相关标签/搜索