package router import ( "github.com/gin-gonic/gin" "nCovTrack-Backend/handler" ) func statisticRouter(router *gin.RouterGroup) { statisticsRouter := router.Group("/statistics") { statisticsRouter.GET("/provience/:sort", handler.ProvinceDataHandler) statisticsRouter.GET("/city/:sort", handler.CityDataHandler) statisticsRouter.GET("/country/child", handler.CountryDataHandler) statisticsRouter.GET("/country", handler.CountryDataHandler) statisticsRouter.GET("/china", handler.ChinaDataHandler) } }