From bced9bb50647989cc99b722e44b0cb2a42a9df8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sun, 22 May 2022 22:13:01 +0800 Subject: [PATCH] =?UTF-8?q?go=20=E6=93=8D=E4=BD=9C=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- golang.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golang.go b/golang.go index 8f1c379..24d7077 100644 --- a/golang.go +++ b/golang.go @@ -131,5 +131,5 @@ func (g *golang) GetRecommendGoProxyList() []string { // // Date : 22:09 2022/5/22 func (g *golang) FormatCode() *define.Result { - return Execute(g.workDir, g.goCmdPath, []string{"-w", "-l", "./*"}) + return Execute(g.workDir, "gofmt", []string{"-w", "-l", "./*"}) }