# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
export GOROOT=/Users/zhuxiaoyu/Desktop/go121
export GOPATH=/Users/zhuxiaoyu/Desktop/gopath
使用 go1.21 开发,之前电脑有 1.19 版本
1.21 版本安装到了/Users/zhuxiaoyu/Desktop/go121 目录中
/etc/profile
~/.bash_profile
~/.zshrc
go env
vscode 的配置
vscode 报错提示
都快疯了,到底这个 vscode 读的哪里的环境变量