title: Goland does not recognise my vendor directory with Go 1.14
body: <p>When I open my Goland project, the following command is run:</p>
  
  <pre><code>/usr/local/Cellar/go/1.14/libexec/bin/go list -m -json all #gosetup
  </code></pre>
  
  <p>Its output is the following error:</p>
  
  <pre><code>go list -m: can't compute 'all' using the vendor directory
      (Use -mod=mod or -mod=readonly to bypass.)
  </code></pre>
  
  <p>Goland cannot resolve the packages I'm importing.
  When I build and run the project from the command line, it works fine.</p>
  
  <p>My project is structured as follows:</p>
  
  <pre><code>app/
      bin/
      pkg/
      src/
          app/
              cmd/
              vendor/
              go.mod
  </code></pre>
  
  <p>My <code>GOROOT</code> is <code>/usr/local/Cellar/go/1.14/libexec</code> and my <code>GOPATH</code> is <code>app/</code>.</p>
  
  <p>In Goland settings, under Go/GOPATH have checked the boxes for "Use GOPATH that's defined in system environment" and "Index entire GOPATH".</p>
  
  <p>Under Go/Go Modules (vgo), I have checked "Enable Go Modules (vgo) integration" and "Vendoring mode"</p>
  
  <p>I have just noticed when I change the <code>GOPATH</code> to <code>/Users/myname/sdk/go1.13.4</code>, the problem is solved. Could this be an issue with Homebrew or a change introduced with go 1.14 that I am not aware of?</p>
  
  <p>I'm being exhaustive when describing the issue because I'm unfamiliar with Go and might be missing something obvious.
  Thanks!</p>