This commit is contained in:
Gregory Salaun 2023-12-07 22:38:43 +08:00
parent 81e5769bef
commit aa39764a99

View File

@ -22,7 +22,7 @@ func (s *Server) Start(cfg *domain.Config) error {
gin.SetMode(gin.ReleaseMode)
r := gin.Default()
s.SetupRoutes(r)
fmt.Println("[Server ]Server is running on port", cfg.Port)
fmt.Println("[Server] Server is running on port", cfg.Port)
err := r.Run(s.listenAddr)
if err != nil {
return err