code: func (q *QueryConfig) GetTimeRange() TimeRange {
  	if q == nil || q.TimeRange == nil {
  		return TimeRange{}
  	}
  	return *q.TimeRange
  }
docs: // GetTimeRange returns the TimeRange field if non-nil, zero value otherwise.