Skip to content
Snippets Groups Projects
Commit 59fcc49b authored by ko_oler's avatar ko_oler
Browse files

правки

parent 40ee3bd7
No related branches found
No related tags found
No related merge requests found
......@@ -47,6 +47,8 @@ func (c *Client) Find(ctx context.Context, filter *Filter, options *options.Find
Sort: options.Sort,
Offset: int32(options.Offset),
Limit: int32(options.Limit),
PageSize: int32(options.PageSize),
PageNum: int32(options.PageNum),
}
}
response, err := c.client.Find(ctx, request)
......
......@@ -9,8 +9,10 @@ type SortOptions struct {
// PaginationOptions настройки возвращаемых страниц результатов
type PaginationOptions struct {
//Deprecated
PageNum int
PageSize int
Limit int
Offset int
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment