Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there is no "tool" file in "opt/go/pkg", what should I do? #2

Open
Wang-Yanping1996 opened this issue Jul 22, 2021 · 2 comments
Open

Comments

@Wang-Yanping1996
Copy link

Wang-Yanping1996 commented Jul 22, 2021

There is no "tool" file in "opt/go/pkg", what should I do ?

@TangliziGit
Copy link

You should find the path which golang installed. For example, my install path is /usr/local/Cellar/go/1.16.3/, so the darwin_amd64 path would be /usr/local/Cellar/go/1.16.3/libexec/pkg/tool/darwin_amd64.

@eisenxp
Copy link
Owner

eisenxp commented Aug 3, 2021

echo "$(cd `which go`/../../pkg/tool/darwin_amd64 && pwd)"

Through this command, you can locate the directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants