title: no matching versions for query "latest" with a local package
body: <pre><code>go version go1.15.2 darwin/amd64
  </code></pre>
  <p>within my folder I have two files: <code>main.go</code> and <code>user.go</code> along with other files such as <code>go.mod</code>, <code>go.sum</code> etc.</p>
  <p>when trying to import the package from <code>user.go</code> I get the error in my imports:</p>
  <blockquote>
  <p>no matching versions for query &quot;latest&quot;</p>
  </blockquote>
  <h3>user.go</h3>
  <pre class="lang-golang prettyprint-override"><code>package user
  
  import (
      &quot;os&quot;
      &quot;os/user&quot;
      &quot;path/filepath&quot;
  )
  </code></pre>
  <h3>main.go</h3>
  <pre class="lang-golang prettyprint-override"><code>import (
      &quot;fmt&quot;
      &quot;bufio&quot;
      &quot;github.com/ctfrancia/go-dot/user&quot; // &lt;--- error here
      // ...
  )
  </code></pre>
  <p>I tried following some suggestions such as <code>go clean -modcache</code> as <a href="https://github.com/golang/go/issues/27215#issuecomment-416581935" rel="noreferrer">suggested in a git hub issue</a></p>
  <p>I'm using gomods so I don't want to disable it. Thanks</p>