title: replacing remote package with local directory
body: <p>I'm playing around with this<a href="https://github.com/mantishK/gonotevanilla/blob/master/config/dbconn.go" rel="nofollow">enter link description here</a> Go CRUD api app. The READ.me advises that mysql needs to be configured in <code>config/dbconn.go</code>. In the source code, mysql is configured to use port 3306. I cloned the source code and changed the config to use port 8889, which MAMP mysql requires me to use for my own scripts (the only mysql I have on my system is through MAMP).</p>
  
  <pre><code>dbUserName := "root"
  dbPass := "root"
  dbIp := "127.0.0.1"
  dbPortNo := 8889
  </code></pre>
  
  <p>When I ran cloned version of the app and tried to visit one of the routes, I got this error message </p>
  
  <pre><code>Create tables failed dial tcp 127.0.0.1:3306: connection refused
  exit status 1
  </code></pre>
  
  <p>So I'm assuming that it's trying to connect on the port through 3306, and when I look in the <code>util.go</code> file of the project, I see that it's importing the config from the remote repo, rather (I'm assuming) than using the config file in the local repo that I changed to use the mysql settings for MAMP</p>
  
  <p><strong>util.go</strong></p>
  
  <pre><code>import (
  
      "github.com/mantishK/gonotevanilla/config"
  
  )
  </code></pre>
  
  <p>My question is, if the problem is as I think it is, how do I tell util.go to use the database config file at <code>/config/dbconn.go</code> rather than the file that's in the remote repo.</p>
  
  <p>I tried to using </p>
  
  <pre><code> "config" 
  </code></pre>
  
  <p>and </p>
  
  <pre><code> "/config" 
  </code></pre>
  
  <p>and I got the same error</p>