1
0
mirror of https://github.com/golang/go synced 2024-09-29 03:24:29 -06:00

cmd/go: fix typo in comment

Signed-off-by: guoguangwu <guoguangwug@gmail.com>
This commit is contained in:
guoguangwu 2024-03-07 17:09:38 +08:00
parent 58052fe8e7
commit 0347054a55

View File

@ -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()