You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Before this, go and gofmt was installed to /usr/bin, which confuses Go
as it can not figure out $GOROOT automatically by os.Executable, see
[1] for details.
By installing binaries to $GOROOT/bin (GOROOT points to /usr/lib/go),
go can now figure out its GOROOT.
- Provide symlinks in /usr/bin/go{,fmt}-google to ensure it is there.
- Update alternatives file to point corresponding executables to the
one installed in $GOROOT.
[1]: golang/go#61921 (comment)
0 commit comments