title: How should I use vendor in Go 1.6?
body: <p>First I have read this answer: <a href="https://stackoverflow.com/questions/35999046/vendoring-in-go-1-6">Vendoring in Go 1.6</a>, then I use it as my example.</p>
  
  <p>My gopath is <code>GOPATH="/Users/thinkerou/xyz/"</code>, and the follow like:</p>
  
  <pre><code>thinkerou@MacBook-Pro-thinkerou:~/xyz/src/ou$ pwd
  /Users/baidu/xyz/src/ou
  thinkerou@MacBook-Pro-thinkerou:~/xyz/src/ou$ ls
  main.go vendor
  </code></pre>
  
  <p>Now, I use <code>go get</code>, then becomes this:</p>
  
  <pre><code>thinkerou@MacBook-Pro-thinkerou:~/xyz/src/ou$ ls
  main.go vendor
  thinkerou@MacBook-Pro-thinkerou:~/xyz/src/ou$ cd vendor/
  thinkerou@MacBook-Pro-thinkerou:~/xyz/src/ou/vendor$ ls
  vendor.json
  thinkerou@MacBook-Pro-thinkerou:~/xyz/src/ou/vendor$ cd ../..
  thinkerou@MacBook-Pro-thinkerou:~/xyz/src$ ls
  github.com ou
  thinkerou@MacBook-Pro-thinkerou:~/xyz/src$ cd github.com/
  thinkerou@MacBook-Pro-thinkerou:~/xyz/src/github.com$ ls
  zenazn
  </code></pre>
  
  <p><code>vendor.json</code> is this:</p>
  
  <pre><code>{
      "comment": "",
      "package": [
          {
              "path": "github.com/zenazn/goji"
          }
      ]
  }
  </code></pre>
  
  <p>then, I should use what commands? why have no use <code>vendor</code>? My go version is 1.6.2.</p>