title: golang unexpected directory layout
body: <p>So I downloaded minio from github.com/minio/minio</p>
  
  <p>I want to run it from the source,</p>
  
  <p>I create my directory like:</p>
  
  <pre><code>~/Downloads/minio-RELEASE.2017-06-13T19-01-01Z
  |
   src
     |
      all minio directories, including vendor, like the image below
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Lhgr0.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/Lhgr0.jpg" alt="enter image description here"></a></p>
  
  <p>I also use <code>godep</code> resolve other dependencies under GOPATH.</p>
  
  <p>Now I run it from Gogland(go IDE)</p>
  
  <p>It shows:</p>
  
  <pre><code>GOROOT=/usr/local/Cellar/go/1.8.3/libexec
  GOPATH=/Users/xl/Downloads/minio-RELEASE.2017-06-13T19-01-01Z:/Users/xl/go
  /usr/local/Cellar/go/1.8.3/libexec/bin/go build -i -o /private/var/folders/8v/6dg7d6mx2850sv1gp8ts9thm0000gn/T/go_run_main_gogo /Users/xl/Downloads/minio-RELEASE.2017-06-13T19-01-01Z/src/main.go
  unexpected directory layout:
      import path: github.com/Azure/azure-sdk-for-go/storage
      root: /Users/xl/Downloads/minio-RELEASE.2017-06-13T19-01-01Z/src
      dir: /Users/xl/Downloads/minio-RELEASE.2017-06-13T19-01-01Z/src/vendor/github.com/Azure/azure-sdk-for-go/storage
      expand root: /Users/xl/Downloads/minio-RELEASE.2017-06-13T19-01-01Z/src
      expand dir: /Users/xl/Downloads/minio-RELEASE.2017-06-13T19-01-01Z/src/vendor/github.com/Azure/azure-sdk-for-go/storage
      separator: /
  </code></pre>
  
  <p>Now I am confused that, what's the problem? The files are all there and the directories are just like what's it's printing. How do I fix it? Thanks.</p>