generated from alecodes/base-template
17 lines
277 B
Go
17 lines
277 B
Go
package synchronizator
|
|
|
|
type Fetcher = func(pagination Pagination) ([]*Collection, Pagination, error)
|
|
|
|
type Pagination struct {
|
|
Total int
|
|
HasMore bool
|
|
Limit int
|
|
Offset int
|
|
}
|
|
|
|
var StartPagination = Pagination{
|
|
Total: 0,
|
|
HasMore: false,
|
|
Limit: 10,
|
|
Offset: 0,
|
|
}
|