From 38950ebafd60f7f47d0c3ca3afbcdfefc9522a82 Mon Sep 17 00:00:00 2001 From: Jeffrey Duroyon Date: Sun, 17 May 2020 01:27:08 +0200 Subject: [PATCH] add unhandled panic --- handlers/cage_handler.go | 2 +- handlers/game_handler.go | 2 +- handlers/hamster_handler.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/handlers/cage_handler.go b/handlers/cage_handler.go index 5be7fb8..a0e8c06 100644 --- a/handlers/cage_handler.go +++ b/handlers/cage_handler.go @@ -58,7 +58,7 @@ func (hc *handlersContext) createACage(c *gin.Context) { } func (hc *handlersContext) updateACage(c *gin.Context) { - + panic("TO DO") } func (hc *handlersContext) deleteACage(c *gin.Context) { diff --git a/handlers/game_handler.go b/handlers/game_handler.go index dc45ea8..77c4446 100644 --- a/handlers/game_handler.go +++ b/handlers/game_handler.go @@ -58,7 +58,7 @@ func (hc *handlersContext) createAGame(c *gin.Context) { } func (hc *handlersContext) updateAGame(c *gin.Context) { - + panic("TO DO") } func (hc *handlersContext) deleteAGame(c *gin.Context) { diff --git a/handlers/hamster_handler.go b/handlers/hamster_handler.go index 0378668..bedab46 100644 --- a/handlers/hamster_handler.go +++ b/handlers/hamster_handler.go @@ -58,7 +58,7 @@ func (hc *handlersContext) createAHamster(c *gin.Context) { } func (hc *handlersContext) updateAHamster(c *gin.Context) { - + panic("TO DO") } func (hc *handlersContext) deleteAHamster(c *gin.Context) {