Linux下配置go开发环境

1 go

wget https://dl.google.com/go/go1.15.6.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.15.6.linux-amd64.tar.gz

sudo vim /etc/environment
export PATH=$PATH:/usr/local/go/bin

2 VSCode

安装后,配置插件go,其他点击运行时,会提示安装,选择全部安装即可

Leave a Reply

Your email address will not be published. Required fields are marked *