GoLand
import 导入排序
配置 golint
golint
用于检查 go
代码中不够规范的地方
下载
mkdir -p $GOPATH/src/golang.org/x/
cd $GOPATH/src/golang.org/x/
git clone https://github.com/golang/lint.git
git clone https://github.com/golang/tools.git
进入到目录$GOPATH/src/golang.org/x/lint/golint
中运行,安装
go install
此时会生成二进制文件$GOPATH/bin/golint
goland中配置
使用