diff --git a/.gitignore b/.gitignore index 297e085..2eea525 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -config/conf.json \ No newline at end of file +.env \ No newline at end of file diff --git a/config/conf copy.json b/config/conf.json similarity index 63% rename from config/conf copy.json rename to config/conf.json index 713b548..eefb956 100644 --- a/config/conf copy.json +++ b/config/conf.json @@ -1,9 +1,9 @@ { "database": { - "host": "binders.net", + "host": "localhost", "port": "5432", "user": "ti1", - "password": "W7zZTAkVeWs54zQGNka2KgZpusEa68CG", + "password": "", "dbname": "ti1", "sslmode": "disable" }, diff --git a/config/config.go b/config/config.go index 4d58e8e..f59e215 100644 --- a/config/config.go +++ b/config/config.go @@ -3,7 +3,6 @@ package config import ( "encoding/json" "fmt" - "log" "os" ) @@ -54,7 +53,7 @@ func LoadConfig(file string) (Config, error) { if temp := os.Getenv("TEMP"); temp != "" { config.Temp = temp } - log.Println("Temp value:", config.Temp) + //log.Println("Temp value:", config.Temp) return config, nil }