安装
brew install go
GOROOT 就是安装路径,不用管,会自动设置好
GOPATH 为存放 go 项目和依赖的地方
mkdir -p ~/go
go 的子命令
go env
GoLand
Editor/General/Appearance/Show whitespaces
配置 File Watchers 进行 gofmt
安装
brew install go
GOROOT 就是安装路径,不用管,会自动设置好
GOPATH 为存放 go 项目和依赖的地方
mkdir -p ~/go
go 的子命令
go env
GoLand
Editor/General/Appearance/Show whitespaces
配置 File Watchers 进行 gofmt
Leave a Reply