MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / DeleteStrategy

Method DeleteStrategy

controller/strategy/iml.go:211–213  ·  view source on GitHub ↗
(ctx *gin.Context, id string)

Source from the content-addressed store, hash-verified

209}
210
211func (i *imlStrategyController) DeleteStrategy(ctx *gin.Context, id string) error {
212 return i.strategyModule.Delete(ctx, id)
213}
214
215func genTime(t string, defaultValue time.Time) (time.Time, error) {
216 if t == "" {

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected