code: func (r *Response) populatePageValues(v interface{}) {
  	switch value := v.(type) {
  	case *searchResult:
  		r.StartAt = value.StartAt
  		r.MaxResults = value.MaxResults
  		r.Total = value.Total
  	case *groupMembersResult:
  		r.StartAt = value.StartAt
  		r.MaxResults = value.MaxResults
  		r.Total = value.Total
  	}
  	return
  }
docs: // Sets paging values if response json was parsed to searchResult type
  // (can be extended with other types if they also need paging info)