title: Any way to prevent using project name from go.mod file in import path
body: <pre><code>import (
      &quot;fmt&quot;
      &quot;golang/pkg/closure&quot;
      &quot;golang/pkg/player&quot;
      &quot;golang/pkg/slices&quot;
      &quot;golang/pkg/user&quot;
  )
  
  </code></pre>
  <p>Above you can see my imports in <code>main</code> package. On same level with <code>main.go</code> file , I have folder <code>pkg</code> , where I hold my packages and file <code>go.mod</code></p>
  <pre><code>module golang
  
  go 1.18
  </code></pre>
  <p>How can make it working same way but without using <code>golang/</code> prefix ?</p>