golang 每次开一个终端时都要设置一下 GOPATH 非常不爽

我发现在 ~/.zshrc 中设置 export GOPATH=$PWD 就可以自动设置为当前目录了

bash 同理可在 ~/.bashrc 中设置


Mikele
4 声望1 粉丝