MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / EditStrategy

Method EditStrategy

controller/strategy/iml.go:199–201  ·  view source on GitHub ↗
(ctx *gin.Context, id string, input *strategy_dto.Edit)

Source from the content-addressed store, hash-verified

197}
198
199func (i *imlStrategyController) EditStrategy(ctx *gin.Context, id string, input *strategy_dto.Edit) error {
200 return i.strategyModule.Edit(ctx, id, input)
201}
202
203func (i *imlStrategyController) EnableStrategy(ctx *gin.Context, id string) error {
204 return i.strategyModule.Enable(ctx, id)

Callers

nothing calls this directly

Calls 1

EditMethod · 0.65

Tested by

no test coverage detected