package route import ( "gin-demo/controller" "github.com/gin-gonic/gin" ) func CollectRoute(r *gin.Engine) *gin.Engine { categoryController := controller.MarkdownLoad() r.GET("/*path", categoryController.Show) return r }