We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b8ff6f commit 892c9f0Copy full SHA for 892c9f0
router_group.go
@@ -26,7 +26,7 @@ func (r *RouterGroup) POST(route string, handle any) { r.r.POST(r.p+route, ha
26
func (r *RouterGroup) PUT(route string, handle any) { r.r.PUT(r.p+route, handle) }
27
func (r *RouterGroup) PATCH(route string, handle any) { r.r.PATCH(r.p+route, handle) }
28
func (r *RouterGroup) DELETE(route string, handle any) { r.r.DELETE(r.p+route, handle) }
29
-func (r *RouterGroup) Use(args ...any) Group { return r.Use(args...) }
+func (r *RouterGroup) Use(args ...any) Group { return r.r.Use(args...) }
30
func (r *RouterGroup) Group(route string) Group { return &RouterGroup{r.p + route, r.r} }
31
func (r *RouterGroup) Handle(method string, route string, handle any) {
32
r.r.Handle(method, r.p+route, handle)
0 commit comments