title: golang "go get comand" how this works?
body: <p>Initially I thought it works as like java maven
  where it has its own repository and downloads dependencies</p>
  
  <p>but go git seems to have dependency with git Bazaar like version control system.</p>
  
  <pre><code>go get launchpad.net/mgo 
  go: missing Bazaar command. See http://golang.org/s/gogetcmd
  package launchpad.net/mgo: exec: "bzr": executable file not found in $PATH
  </code></pre>
  
  <p><strong>Edit:</strong>
  My main problem is when i do</p>
  
  <p>go get gopkg.in/mgo.v2   I get</p>
  
  <pre><code>fatal: unable to access 'https://gopkg.in/mgo.v2/': SSL certificate problem: self signed certificate in certificate chain
  package gopkg.in/mgo.v2: exit status 128
  </code></pre>
  
  <p>This is because of git needs certificate. I am able to  <code>clone this repo using<br>
  git -c http.sslVerify=false clone</code> </p>
  
  <p>I have to do the similar setting some where to get it from go get command</p>