code: func (client *Client) PaginateRunstatusIncidents(ctx context.Context, page RunstatusPage, callback func(*RunstatusIncident, error) bool) {
  	if page.IncidentsURL == "" {
  		callback(nil, fmt.Errorf("empty Incidents URL for %#v", page))
  		return
  	}
  
  	incidentsURL := page.IncidentsURL
  	for incidentsURL != "" {
  		resp, err := client.runstatusRequest(ctx, incidentsURL, nil, "GET")
  		if err != nil {
  			callback(nil, err)
  			return
  		}
  
  		var is *RunstatusIncidentList
  		if err := json.Unmarshal(resp, &is); err != nil {
  			callback(nil, err)
  			return
  		}
  
  		for i := range is.Incidents {
  			if cont := callback(&is.Incidents[i], nil); !cont {
  				return
  			}
  		}
  
  		incidentsURL = is.Next
  	}
  }
docs: // PaginateRunstatusIncidents paginate Incidents