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:
parent
58052fe8e7
commit
0347054a55
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user