title: How do I fix my golang import cycle error
body: <p>So I have made a basic go package that just gives you colored text in terminal, now i have confirgured the stuff, created go mod for the package,but when i run the file that is importing the package it gives me this error</p>
  <pre><code>import cycle not allowed
  package main
          imports github.com/Rachit4/colora
          imports github.com/Rachit4/colora
  </code></pre>
  <p>my main.go file is</p>
  <pre class="lang-golang prettyprint-override"><code>package main
  
  import &quot;github.com/Rachit4/colora&quot;
  
  func main() {
          red(&quot;test&quot;)
  }
  </code></pre>