Loading

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博客

 

posted @ 2021-12-10 13:38  拾月凄辰  阅读(1538)  评论(0编辑  收藏  举报