From: guoguangwu Date: Thu, 7 Mar 2024 09:19:51 +0000 (+0000) Subject: cmd/go: fix typo in comment X-Git-Tag: go1.23rc1~975 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d44ec4c05f33213a4e428113517b07049de67808;p=gostls13.git cmd/go: fix typo in comment Change-Id: I211442f2bbdab29820126a350cbdb0886a10d6e5 GitHub-Last-Rev: 0347054a55713f9dabee38f63900b56025a39c60 GitHub-Pull-Request: golang/go#66160 Reviewed-on: https://go-review.googlesource.com/c/go/+/569697 Commit-Queue: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor Reviewed-by: Michael Matloob Auto-Submit: Ian Lance Taylor Reviewed-by: qiulaidongfeng <2645477756@qq.com> --- diff --git a/src/cmd/go/internal/base/tool.go b/src/cmd/go/internal/base/tool.go index ab623da426..a60bf9d6d3 100644 --- a/src/cmd/go/internal/base/tool.go +++ b/src/cmd/go/internal/base/tool.go @@ -27,7 +27,7 @@ func Tool(toolName string) string { return toolPath } -// Tool returns the path at which we expect to find the named tool +// ToolPath returns the path at which we expect to find the named tool // (for example, "vet"), and the error (if any) from statting that path. func ToolPath(toolName string) (string, error) { toolPath := filepath.Join(build.ToolDir, toolName) + cfg.ToolExeSuffix()