mittwald/goharbor-client

how do I get total if I want to return paging data

Closed this issue · 0 comments

It seems that XtotalCount did not return,only list return。
func (c *RESTClient) ListProjects(ctx context.Context, nameFilter string) ([]*model.Project, error)

how do I get total if I want to return paging data like this

{
    data: [],
    total: 50
}