mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-21 15:19:32 +08:00
优化生成代码路径,文档更新
This commit is contained in:
@@ -54,6 +54,10 @@ func initRouter() *gin.Engine {
|
||||
|
||||
routers.RegisterGroup(group)
|
||||
|
||||
for _, route := range router.Routes() {
|
||||
fmt.Printf("%s %s\n", route.Method, route.Path)
|
||||
}
|
||||
|
||||
return router
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user