package router import ( "github.com/gin-gonic/gin" "kra/internal/server/handler" ) func RegisterPlatformSetting(public, private *gin.RouterGroup, h *handler.PlatformSetting) { public.GET("/live/settings", h.Get) private.PUT("/live/admin/settings", h.Save) }