Golang
跳到导航
跳到搜索
install
wget -c https://dl.google.com/go/go1.14.4.linux-amd64.tar.gz tar -C /usr/local -xzf go$VERSION.$OS-$ARCH.tar.gz tar -xvf go1.14.4.linux-amd64.tar.gz -C /usr/local/ #加入 echo 'export PATH=$PATH:/usr/local/go/bin' >>/etc/profile && source /etc/profile #export GOROOT=/usr/local/go/ #export PATH=/usr/local/go/bin/:$PATH #export GOPATH=/root