wget https://dl.google.com/go/go1.17.1.linux-amd64.tar.gztar -zxvf xxxvim /etc/profile添加
export GOROOT=/golang/goexport GOPATH=/golang/gopathexport PATH=$PATH:$GOROOT/bin:$GOPATH/bin
source /etc/profile
go version