title: Error: Type is redeclared in this package
body: <p><a href="https://i.stack.imgur.com/smjVM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/smjVM.png" alt="I have this folder structure:" /></a></p>
  <p>In req.go, I have:</p>
  <pre><code>package basic
  
  type Headers struct {
  }
  
  type Body struct {
  }
  </code></pre>
  <p>and in res.go, I have the same:</p>
  <pre><code>package basic
  
  type Headers struct {
  }
  
  type Body struct {
  }
  </code></pre>
  <p>and so I get this error:</p>
  <blockquote>
  <p>'Headers' redeclared in this package</p>
  <p>'Body' redeclared in this package</p>
  </blockquote>
  <p>Is the only way to solve this is to put req and res in their own folders? Ughh so many folders.</p>