diff --git a/example/config/config.json b/example/config/config.json index 63f1577..ee1cf4c 100644 --- a/example/config/config.json +++ b/example/config/config.json @@ -23,11 +23,10 @@ ], "db": { "mysql": { - "host": "192.168.2.20", - "name": "gov_crawler", - "password": "fh22y8b882d", + "host": "192.168.6.253", + "name": "dgs-cms", + "password": "dasda8454456", "port": "3306", - "prefix": "", "user": "root" } }, diff --git a/example/main.go b/example/main.go index 5995203..525e591 100644 --- a/example/main.go +++ b/example/main.go @@ -2,7 +2,6 @@ package main import ( . "code.hoteas.com/golang/hotime" - "code.hoteas.com/golang/hotime/example/app" ) func main() { @@ -13,6 +12,6 @@ func main() { return isFinished }) - appIns.Run(Router{"app": app.AppProj}) + appIns.Run(Router{}) }