From 588e4c0861d329aa08a305f5c80954ecc4bdd110 Mon Sep 17 00:00:00 2001 From: weisenhuang Date: Fri, 21 Jun 2019 20:48:09 +0800 Subject: [PATCH] format code --- tool/kratos/tool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/kratos/tool.go b/tool/kratos/tool.go index 738ee06a2..45769a265 100644 --- a/tool/kratos/tool.go +++ b/tool/kratos/tool.go @@ -174,7 +174,7 @@ func (t Tool) updated() bool { } func (t Tool) toolPath() string { - if gobin := os.Getenv("GOBIN");len(gobin) > 0 { + if gobin := os.Getenv("GOBIN"); len(gobin) > 0 { return filepath.Join(gobin, t.Alias) } return filepath.Join(gopath(), "bin", t.Alias)