Limit the number of records to be returned by this query.
(limit int)
| 41 | |
| 42 | // Limit the number of records to be returned by this query. |
| 43 | func (gcq *GitCommitQuery) Limit(limit int) *GitCommitQuery { |
| 44 | gcq.ctx.Limit = &limit |
| 45 | return gcq |
| 46 | } |
| 47 | |
| 48 | // Offset to start from. |
| 49 | func (gcq *GitCommitQuery) Offset(offset int) *GitCommitQuery { |