(ctx *gin.Context, id string)
| 133 | } |
| 134 | |
| 135 | func (i *imlStrategyController) GetStrategy(ctx *gin.Context, id string) (*strategy_dto.Strategy, error) { |
| 136 | return i.strategyModule.Get(ctx, id) |
| 137 | } |
| 138 | |
| 139 | func (i *imlStrategyController) search(ctx *gin.Context, keyword string, scope strategy_dto.Scope, target string, driver string, page string, pageSize string, order string, sort string, filters string) ([]*strategy_dto.StrategyItem, int64, error) { |
| 140 | p, err := strconv.Atoi(page) |