done with routing in async func go
This commit is contained in:
+2
-1
@@ -11,7 +11,8 @@ var PSQLCnf configs.PSQLConfig
|
||||
|
||||
func main() {
|
||||
slog.Info("Start")
|
||||
initializers.InitDBconnection()
|
||||
initializers.InitChiRouting()
|
||||
initializers.InitDBconnection()
|
||||
slog.Info("server is closed", "info", <-initializers.Done)
|
||||
slog.Info("End")
|
||||
}
|
||||
Reference in New Issue
Block a user