我正在使用gorillamux设置动态路由,这是routes.go代码typeRoutestruct{NamestringMethodstringPatternstringQueries[]stringHandlerFunchttp.HandlerFunc}typeRoutes[]Routevarvers=os.Getenv("API_VERSION")varbaseURL="/api/"+vers+"/"varauthRoutes=Routes{Route{"GetAllUsers","GET",baseURL+"users",[]string{"maxperpage","{maxp