code: func (a *AvgRateCounter) WithResolution(resolution int) *AvgRateCounter {
  	if resolution < 1 {
  		panic("AvgRateCounter resolution cannot be less than 1")
  	}
  
  	a.hits = a.hits.WithResolution(resolution)
  	a.counter = a.counter.WithResolution(resolution)
  
  	return a
  }
docs: // WithResolution determines the minimum resolution of this counter