package router import ( "Lee-WineList/api/app" "github.com/gin-gonic/gin" ) func wine(g *gin.RouterGroup) { g.GET("", app.WineApi().GetList) g.POST("", app.WineApi().Add) g.PUT("", app.WineApi().Update) g.DELETE("", app.WineApi().Delete) }