Upgraded Go version and the version of all dependencies. Fixed som more bugs.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user