refactor: wrap fiber.App in custom Server struct

This commit is contained in:
2025-11-30 23:14:09 +00:00
parent 3e96c42c4a
commit e8a558d652
2 changed files with 35 additions and 5 deletions

View File

@@ -29,6 +29,5 @@ func main() {
log.Fatal(err)
}
log.Printf("starting server on :%d", config.Server.Port)
log.Fatal(server.Listen(fmt.Sprintf(":%d", config.Server.Port)))
log.Fatal(server.Start())
}