code: func (m *medianTime) Offset() time.Duration {
  	m.mtx.Lock()
  	defer m.mtx.Unlock()
  
  	return time.Duration(m.offsetSecs) * time.Second
  }
docs: // Offset returns the number of seconds to adjust the local clock based upon the
  // median of the time samples added by AddTimeData.
  //
  // This function is safe for concurrent access and is part of the
  // MedianTimeSource interface implementation.