diff --git a/gateway.go b/gateway.go index 34b059a..76958bc 100644 --- a/gateway.go +++ b/gateway.go @@ -1,7 +1,7 @@ package main import ( - avro "Gateway Server/model" + avro "Gateway-Server/model" "bytes" "context" "database/sql" @@ -45,7 +45,7 @@ func main() { } func dbConnect() { - sqlConf, err := ioutil.ReadFile("/root/.mysql_goconf") // Read the db config file + sqlConf, err := ioutil.ReadFile(".mysql_goconf") // Read the db config file if err != nil { fmt.Printf("Error reading MySQL config file: %v\n", err) os.Exit(1) // If we can't connect to the database there's not much point in continuing