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
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
本文标题:msys2 配置golang
本文链接:https://www.haomeiwen.com/subject/ienatrtx.html
网友评论