title: How to share single database connection between multiple packages
body: <p>I have two packages named client and worker. I want to share same ssdb, mysql and redis connection with both the packages.
  One more similar problem that i am facing to share auth between these two packages.</p>
  
  <pre><code>app
    -&gt; client pkg
    -&gt; worker pkg
    main.go (contains auth as global variable)
  </code></pre>
  
  <p>Can anyone please suggest me the best way to implement these two things ?</p>