Installation

tar -C /usr/local -xzf go1.21.4.linux-amd64.tar.gz
vim /etc/profile
export PATH=$PATH:/usr/local/go/bin
source /etc/profile

设置GoProxy

go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct

标签: none

添加新评论