Comment 1 for bug 2018188

Revision history for this message
Shengjing Zhu (zhsj) wrote :

Hi, could you elaborate why `go install` is related to GOROOT?

Shouldn't `go install` install binary to $GOPATH/bin?

```
ubuntu@ubuntu-devel:~$ go version
go version go1.20.4 linux/amd64
ubuntu@ubuntu-devel:~$ go install golang.org/x/tools/gopls@latest
ubuntu@ubuntu-devel:~$ ls go/bin/gopls
go/bin/gopls
```