title: How to find a Go package installed with 'go get -u' when no $GOPATH is defined?
body: <p>I'm following the gRPC Quickstart tutorial for Go, <a href="https://grpc.io/docs/quickstart/go/" rel="nofollow noreferrer">https://grpc.io/docs/quickstart/go/</a>, and have installed gRPC using the command</p>
  
  <pre><code>go get -u google.golang.org/grpc
  </code></pre>
  
  <p>I actually haven't defined a <code>GOPATH</code> environment variable:</p>
  
  <pre><code>&gt; echo $GOPATH
  </code></pre>
  
  <p>which, as I understand it, means that it defaults to <code>~/go</code>, or in my case <code>/Users/kurt/go</code>.</p>
  
  <p>At the next step, I'd like to build the example by doing</p>
  
  <pre><code>cd $GOPATH/src/google.golang.org/grpc/examples/helloworld
  </code></pre>
  
  <p>However, I find that the directory doesn't exist, and there is also no <code>google.golang.org</code> directory in <code>/Users/kurt/go/src</code>:</p>
  
  <pre><code>~/g/src&gt; ls *google*
  fish: No matches for wildcard '*google*'. See `help expand`.
  ls *google*
     ^
  </code></pre>
  
  <p>Should the package not be located here? That's what I understand from <a href="https://stackoverflow.com/questions/50633092/where-does-go-get-install-packages">Where does go get install packages?</a>.</p>