done with routing in async func go

This commit is contained in:
valitovgaziz
2024-08-08 13:23:29 +05:00
parent 69a735e692
commit acc9bb5906
5 changed files with 26 additions and 86 deletions
+2 -1
View File
@@ -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")
}