feat: add makefile
This commit is contained in:
@@ -36,7 +36,9 @@ func main() {
|
||||
|
||||
log.Println("on shutdown")
|
||||
if restServer != nil {
|
||||
restServer.Shutdown()
|
||||
if err := restServer.Shutdown(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
log.Println("gracefully shutdown")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user