How do i know where is the go get packages saved?

Hi,

I’m trying to follow the gRPC tutorial (https://grpc.io/docs/quickstart/go.html#download-the-example) to install grpc, when I run this command go get -u google.golang.org/grpc I can’t find where the package was downloaded, Do you know I could I know that?

I just searched in ~/go and /usr/local/go/bin/

I’m new on go lang and I’m just trying to figure out all this things.

Thanks.

It should be in your GOPATH, cd $(go env GOPATH)/src/google.golang.org/grpc.

1 Like

Nice, also “go env” command helped me to figure out where’s the GOROOT env. variable.

Thanks1

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.