路由器它无法正常工作并出现404错误

I want to use gorilla/mux in my go application for manage routes.

My Problem: I correctly defined the path of the course (of course I think) and put it in code, now My application only executes one of my routers ( /DeleteGroup/{GroupId} ) only once after running the server and for the next time 404 errors.

My error is like "Gorilla Mux router from inside handler only works once then gives 404 page not found" But I did not understand it

handler := newAdminRestApiHandler(db)
    adminRoute := r.PathPrefix("/Admin").Subrouter()
    adminRoute.Use(Authentication)
    adminRoute.Methods("GET").Path("/").HandlerFunc(handler.Dashboard)                              // /Admin/
    adminRoute.Methods("GET").Path("/Posts").HandlerFunc(handler.PostList)                          // /Admin/Posts
    adminRoute.Methods("GET").Path("/DeleteGroup/{GroupId}").HandlerFunc(handler.DeleteGroup)       //<====== ERROR In This Route
    adminRoute.Methods("GET").Path("/Groups").HandlerFunc(handler.GroupList).Name("AdminGroupList") // /Admin/Groups
    adminRoute.Methods("GET").Path("/AddGroup").HandlerFunc(handler.AddGroup)                       // /Admin/AddGroup
    adminRoute.Methods("POST").Path("/AddGroup").HandlerFunc(handler.PostAddGroup)                  // /Admin/AddGroup
    adminRoute.Methods("GET").Path("/EditGroup/{GroupId}").HandlerFunc(handler.EditGroup)           // /Admin/EditGroup
    adminRoute.Methods("POST").Path("/EditGroup/{GroupId}").HandlerFunc(handler.PostEditGroup)      // /Admin/EditGroup