用本地目录替换远程软件包

I'm playing around with thisenter link description here Go CRUD api app. The READ.me advises that mysql needs to be configured in config/dbconn.go. 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).

dbUserName := "root"
dbPass := "root"
dbIp := "127.0.0.1"
dbPortNo := 8889

When I ran cloned version of the app and tried to visit one of the routes, I got this error message

Create tables failed dial tcp 127.0.0.1:3306: connection refused
exit status 1

So I'm assuming that it's trying to connect on the port through 3306, and when I look in the util.go 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

util.go

import (

    "github.com/mantishK/gonotevanilla/config"

)

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 /config/dbconn.go rather than the file that's in the remote repo.

I tried to using

 "config" 

and

 "/config" 

and I got the same error