title: go get with private gitlab repo
body: <p>Despite all the attempts I can't succeed in using "go get" to get a private repo from gitlab
  I've tried with .netrc, gitconfig but it doesnt work.
  I have a private machine with git on it, suppose it is mymachine.prv</p>
  
  <pre><code>git config --global url."git@mymachine.prv:".insteadOf "https://mymachine.prv/"
  </code></pre>
  
  <p>I run this command from a virtual machine with user "gp"
  and it keeps asking me the password for gp@mymachine.prv</p>
  
  <p>So I have generated the public key with ssh-keygen and added to gitlab account, but no luck.</p>
  
  <p>Any help please?</p>
  
  <p>Gianpaolo</p>