func PagingWithOffset(offset int) PagingOption {
	return func(p *Paging) {
		p.offset = domain.Offset(offset)
	}
}
PagingWithOffset set starting offset for returning items. Default 0.
package api
import "github.com/influxdata/influxdb-client-go/v2/domain"
type PagingOption func(p *Paging)
type Paging struct {
	offset domain.Offset
	limit domain.Limit
	sortBy string
	descending domain.Descending
	after domain.After
}
func defaultPaging() *Paging {
	return &Paging{limit: 0, offset: 0, sortBy: "", descending: false, after: ""}
}
func PagingWithLimit(limit int) PagingOption {
	return func(p *Paging) {
		p.limit = domain.Limit(limit)
	}
}