added default hook handler arg name and router search helper

This commit is contained in:
Gani Georgiev
2024-10-13 13:25:04 +03:00
parent 3e0869a30b
commit ff3f4332ce
4 changed files with 12 additions and 2 deletions

View File

@@ -260,6 +260,11 @@ func TestRouterGroupRouteAliases(t *testing.T) {
http.MethodGet,
"/test",
},
{
group.SEARCH("/test", testAction),
"SEARCH",
"/test",
},
{
group.POST("/test", testAction),
http.MethodPost,