Upgraded Go version and the version of all dependencies. Fixed som more bugs.

This commit is contained in:
2024-05-18 13:11:15 +02:00
parent a863702b22
commit 59f1e2c75c
11 changed files with 227 additions and 1111 deletions

View File

@@ -94,5 +94,8 @@ func SetupRestServer(swagger embed.FS) {
log.Printf("Defaulting to port %s", port)
}
log.Printf("Open http://localhost:%s in the browser", port)
router.Run(fmt.Sprintf(":%s", port))
err := router.Run(fmt.Sprintf(":%s", port))
if err != nil {
panic(err)
}
}