Open swanwish opened 7 years ago
Today, I use goimports format golang file, it always report error, and I find the problem is the goimports report error when execute, it was generated with early version of golang. After rebuild the goimports, it succeed.
go get golang.org/x/tools/cmd/goimports
Command goimports
Install new plugin and it supports format go file when save.
Golang intelliJ plugin
Today, I use goimports format golang file, it always report error, and I find the problem is the goimports report error when execute, it was generated with early version of golang. After rebuild the goimports, it succeed.
Command goimports