queue.go
func (c *QueuePageIterator) Next(ctx context.Context) (*QueuePage, error) {
	qp := new(QueuePage)
	err := c.p.Next(ctx, qp)
	if err != nil {
		return nil, err
	}
	c.p.SetNextPageURI(qp.NextPageURI)
	return qp, nil
}
func (c *QueuePageIterator) Next(ctx context.Context) (*QueuePage, error) {
	qp := new(QueuePage)
	err := c.p.Next(ctx, qp)
	if err != nil {
		return nil, err
	}
	c.p.SetNextPageURI(qp.NextPageURI)
	return qp, nil
}
func ( c * QueuePageIterator ) Next ( ctx context . Context ) ( * QueuePage , error ) { qp := new ( QueuePage ) err := c . p . Next ( ctx , qp ) if err != nil { return nil , err } c . p . SetNextPageURI ( qp . NextPageURI ) return qp , nil }
// Next returns the next page of resources. If there are no more resources,
// NoMoreResults is returned.
Next returns the next page of resources . If there are no more resources NoMoreResults is returned .