优化生成代码路径,文档更新

This commit is contained in:
xiangheng
2023-12-29 16:31:12 +08:00
parent f64428cc2c
commit 00415bace3
12 changed files with 46 additions and 73 deletions

View File

@@ -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
}