diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-12 23:28:54 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-12 23:28:54 +0530 |
commit | 029fe2c7a3532bc3bf435f257cdade240c8f3568 (patch) | |
tree | e4b0488af6b867e3065a11af8d706d139c7176a9 /item/router.go | |
parent | fd863aadf34b9837bd77587c1d36eb49000a8de7 (diff) |
added get single item routev0.21.0
Diffstat (limited to 'item/router.go')
-rw-r--r-- | item/router.go | 1 |
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) } |