This commit is contained in:
parent
e39d286742
commit
0b470ec9ad
4 changed files with 82 additions and 12 deletions
|
|
@ -28,6 +28,7 @@ func (h *Handler) RegisterRoutes(r *gin.RouterGroup, mw *router.Middlewares) {
|
|||
|
||||
userGroup.POST("", mw.RegMW, h.controller.create)
|
||||
userGroup.DELETE("", mw.AuthMW, h.controller.delete)
|
||||
userGroup.GET("/me", h.controller.me)
|
||||
}
|
||||
|
||||
// create godoc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue