msys2 配置golang
2021-11-25 本文已影响0人
tf_dejs
install mingw-w64-x86_64-go
pacman -S mingw-w64-x86_64-go
配置环境变量
添加以下配置到.zshrc
export GOROOT="/d/msys64/mingw64/lib/go"
export GOPATH="/d/applications/Goworkspace"
export PATH=$PATH:/mingw64/lib/go/bin:/d/applications/GoWorkspace/bin