package router import ( "github.com/gin-gonic/gin" "base-gin/controller" ) func Http(g *gin.Engine) { api := g.Group("/api") api.POST("/testHello", controller.TestGet) api.POST("/getConfig", controller.GetConfig) }