更好的使用Go,需要设置环境变量
vim ~/.bash_profile
在前面添加
export GOROOT=/usr/lib/go export GOPATH=/usr/local/golang export PATH=$PATH:$GOPATH(原路径后用冒号连接新路径)
立刻生效:
source ~/.bash_profile
更好的使用Go,需要设置环境变量
vim ~/.bash_profile
在前面添加
export GOROOT=/usr/lib/go export GOPATH=/usr/local/golang export PATH=$PATH:$GOPATH(原路径后用冒号连接新路径)
立刻生效:
source ~/.bash_profile
Deploy more with Linux virtual machines, global infrast […]
Helping millions of developers easily build, test, mana […]
主机商介绍:RAKsmart是知名的美国服务器租用商,包括美国站群服务器、美国cn2服务器、香港服务器等热门产 […]
Vultr Global Cloud Hosting – Brilliantly Fast SSD […]
Our web hosting is trusted by more than 2,800,000 domai […]
阿里云——阿里巴巴集团旗下公司,是全球领先的云计算及人工智能科技公司之一。提供免费试用、云服务器、云数据库、云 […]
评论已关闭