我现在有这个:
// people
handler := routes.PersonHandler{}
subRouter := router.PathPrefix("/person").Subrouter()
subRouter.Use(authMiddleware)
handler.Mount(subRouter, routes.PersonInjection{People: models.PersonInit()})
我想知道是否可以将“ / person”和“ / people”都发送到同一子路由器吗?目前只需要别名。