package router import ( "github.com/gin-gonic/gin" "kra/internal/server/handler" ) func RegisterBusinessPerformance(private *gin.RouterGroup, h *handler.BusinessPerformance) { private.GET("/sw/workbench/overview", h.Overview) private.GET("/sw/goals/mine", h.MyGoal) private.GET("/sw/groups", h.Teams) private.PUT("/sw/groups", h.SaveTeams) private.PUT("/sw/business/profile", h.Profile) private.GET("/sw/business/management", h.Management) private.GET("/sw/performance", h.Query) private.GET("/sw/performance/details", h.Details) private.GET("/sw/performance/export", h.Export) private.GET("/sw/goals", h.Goals) private.PUT("/sw/goals", h.SaveGoal) }