title: Best practice for for resolving a circular dependency in Go
body: <p>I have a Go project that contains both of these packages:</p>
  
  <ul>
  <li><code>logging</code><br>
  Imports <code>config</code>, because I want to send the current configuration to my error reporting system</li>
  <li><code>config</code><br>
  Imports <code>logging</code>, because I want to log if the program is unable to open the config files</li>
  </ul>
  
  <p>What is the best practice for resolving this dependency error?</p>