added default hook handler arg name and router search helper
This commit is contained in:
@@ -260,6 +260,11 @@ func TestRouterGroupRouteAliases(t *testing.T) {
|
||||
http.MethodGet,
|
||||
"/test",
|
||||
},
|
||||
{
|
||||
group.SEARCH("/test", testAction),
|
||||
"SEARCH",
|
||||
"/test",
|
||||
},
|
||||
{
|
||||
group.POST("/test", testAction),
|
||||
http.MethodPost,
|
||||
|
||||
Reference in New Issue
Block a user