Go快速入门1
作者:互联网
- ubuntu安装go:sudo tar -C /usr/local/ -xzf go1.17beta1.linux-amd64.tar.gz
- 配置环境变量:sudo gedit /etc/profile
- 输入export GOROOT=/usr/local/go
- export GOPATH=/home/oem/gopath
- export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
- source /etc/profile
标签:GOPATH,入门,tar,GOROOT,sudo,go,export,Go,快速 来源: https://www.cnblogs.com/lixiangzhaolei/p/15860486.html