File is not `gofmt`-ed with `-s` (gofmt) 问题解决
对该文件执行:
gofmt -s -w filename.go
如果报错没指名具体文件,也可以对目录执行:
gofmt -s -w ./dir/
转载自:File is not `gofmt`-ed with `-s` (gofmt) 问题解决_djqueen的博客-CSDN博客
对该文件执行:
gofmt -s -w filename.go
如果报错没指名具体文件,也可以对目录执行:
gofmt -s -w ./dir/
转载自:File is not `gofmt`-ed with `-s` (gofmt) 问题解决_djqueen的博客-CSDN博客