| 107 | } |
| 108 | |
| 109 | func (i *imlStrategyService) ListStrategyCommit(ctx context.Context, commitIds ...string) ([]*commit.Commit[Commit], error) { |
| 110 | if len(commitIds) < 1 { |
| 111 | return nil, fmt.Errorf("commit ids is empty") |
| 112 | } |
| 113 | |
| 114 | return i.commitService.List(ctx, commitIds...) |
| 115 | } |
| 116 | |
| 117 | func (i *imlStrategyService) SearchByDriver(ctx context.Context, keyword string, driver string, scope int, target string, page int, pageSize int, filters []string, order ...string) ([]*Strategy, int64, error) { |
| 118 | w := map[string]interface{}{ |