How to temporarily make imports from a base github repo point to its fork? : <p>I'm working on an open source Go app. Let's call it "projectA". In it there're multiple packages - "pack1", "pack2" ... "packN". I've forked the repo. I have import like these:</p>

<pre><code>import (
  "go_package1"
  "go_package2"
  //........

  "github.com/some_user/projectA/package1"
  "github.com/some_user/projectA/package2"
  "github.com/some_user/projectA/package3"
)
</code></pre>

<p>accross the code. </p>

<p>I want to temporarily replace or re-point all these imports to "github projectA" such that they point to my fork on github <strong>as I'm working on it</strong>. Otherwise, I won't see changes that I make in these packages because they'll point to the original repo "projectA". </p>

<p>But, it should be in a smart way somehow, such that a PR that I'll make to "projectA" will contain the origin imports.</p>

<p>Or perhaps it could be via local imports somehow?</p>

<p>How can I do that?</p>
