page.go
func shouldContinuePaging(start time.Time, results []time.Time) bool {
	// the last result in results is the earliest. if the earliest result is
	// before the start, fetching more resources may return more results.
	if len(results) == 0 {
		panic("zero length result set")
	}
	last := results[len(results)-1]
	return last.After(start)
}
func shouldContinuePaging(start time.Time, results []time.Time) bool {
	// the last result in results is the earliest. if the earliest result is
	// before the start, fetching more resources may return more results.
	if len(results) == 0 {
		panic("zero length result set")
	}
	last := results[len(results)-1]
	return last.After(start)
}
func shouldContinuePaging ( start time . Time , results [ ] time . Time ) bool { // the last result in results is the earliest. if the earliest result is // before the start, fetching more resources may return more results. if len ( results ) == 0 { panic ( " " ) } last := results [ len ( results ) - 1 ] return last . After ( start ) }
// shouldContinuePaging returns true if fetching more results (that have
// earlier timestamps than the provided results) could possibly return results
// in the range. shouldContinuePaging assumes results is sorted so the first
// result in the slice has the latest timestamp, and the last result in the
// slice has the earliest timestamp. shouldContinuePaging panics if results is
// empty.
shouldContinuePaging returns true if fetching more results ( that have earlier timestamps than the provided results ) could possibly return results in the range . shouldContinuePaging assumes results is sorted so the first result in the slice has the latest timestamp and the last result in the slice has the earliest timestamp . shouldContinuePaging panics if results is empty .