Skip to content
Snippets Groups Projects
Commit 5bbf1d9d authored by Sercan Yesildal's avatar Sercan Yesildal
Browse files

update

parent 35a00cb9
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ var cfg *mysql.Config
func Init() error {
vp := viper.New()
vp.AddConfigPath("./service/planner/db")
vp.AddConfigPath("./db")
vp.SetConfigName("config")
vp.SetConfigType("json")
......
{
"addr": ":3306",
"addr": "mariadb:3306",
"dbName": "planner",
"user": "root",
"passwd": "secret"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment