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