ToIndexParams converts HeartbeatIndex to repositories.IndexParams
()
| 29 | |
| 30 | // ToIndexParams converts HeartbeatIndex to repositories.IndexParams |
| 31 | func (input *WebhookIndex) ToIndexParams() repositories.IndexParams { |
| 32 | return repositories.IndexParams{ |
| 33 | Skip: input.getInt(input.Skip), |
| 34 | Query: input.Query, |
| 35 | Limit: input.getInt(input.Limit), |
| 36 | } |
| 37 | } |