Commit c19edaa8 by huangchengyi

1.0

parent 2b0ef7e5
Showing with 4 additions and 5 deletions
...@@ -3,7 +3,6 @@ package boot ...@@ -3,7 +3,6 @@ package boot
import ( import (
"search_server/pkg/config" "search_server/pkg/config"
"search_server/pkg/gredis" "search_server/pkg/gredis"
"search_server/pkg/logger"
"search_server/pkg/mongo" "search_server/pkg/mongo"
"search_server/pkg/mysql" "search_server/pkg/mysql"
) )
...@@ -24,9 +23,9 @@ func Boot(configPath string) (err error) { ...@@ -24,9 +23,9 @@ func Boot(configPath string) (err error) {
panic(err) panic(err)
return return
} }
if err = logger.SetUp(); err != nil { //if err = logger.SetUp(); err != nil {
panic(err) // panic(err)
return // return
} //}
return return
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment