aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/item/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'item/router.go')
-rw-r--r--item/router.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/item/router.go b/item/router.go
index a8a3f16..7e06019 100644
--- a/item/router.go
+++ b/item/router.go
@@ -25,6 +25,7 @@ func Routes(route *gin.RouterGroup) {
i := route.Group("/item")
{
i.GET("/", handleGetItems)
+ i.GET("/:id", handleGetSingleItem)
i.POST("/", handleSaveItem)
i.DELETE("/:id", handleDelItem)
}